VirtualBox

Changeset 56808 in vbox


Ignore:
Timestamp:
Jul 5, 2015 5:00:05 PM (10 years ago)
Author:
vboxsync
Message:

testmanager/webui: Shorter interval formatting (like for test elapsed time).

File:
1 edited

Legend:

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

    r56801 r56808  
    9393
    9494    return tsValue;
     95
     96def isDbInterval(oValue):
     97    """
     98    Checks if oValue is a DB interval object.
     99    """
     100    if isinstance(oValue, datetime.timedelta):
     101        return True;
     102    return False;
    95103
    96104
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