VirtualBox

Changeset 83382 in vbox for trunk


Ignore:
Timestamp:
Mar 24, 2020 2:43:42 PM (5 years ago)
Author:
vboxsync
Message:

TestManager/db.py: Added dbTimestampPlusOneTick to complement dbTimestampMinusOneTick.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/testmanager/core/db.py

    r83358 r83382  
    110110    oValue = dbTimestampToZuluDatetime(oValue);
    111111    return oValue - datetime.timedelta(microseconds = 1);
     112
     113def dbTimestampPlusOneTick(oValue):
     114    """
     115    Returns a new timestamp that's one tick after the given one.
     116    """
     117    oValue = dbTimestampToZuluDatetime(oValue);
     118    return oValue + datetime.timedelta(microseconds = 1);
    112119
    113120def isDbInterval(oValue):
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette