|
| | BTimeUs (BUInt64 t=0) |
| |
| | BTimeUs (BTime t) |
| |
| void | set (BUInt64 microSeconds) |
| | Set the time to TAI us.
|
| |
| void | set (BUInt year, BUInt month, BUInt day, BUInt hour=0, BUInt minute=0, BUInt second=0, BUInt microSecond=0) |
| | Set the date and time from UTC.
|
| |
| void | setYearDay (BUInt year, BUInt yearDay, BUInt hour=0, BUInt minute=0, BUInt second=0, BUInt microSecond=0) |
| | Set the date and time from UTC.
|
| |
| void | getDate (BUInt &year, BUInt &month, BUInt &day) const |
| | Return the date information UTC.
|
| |
| void | getTime (BUInt &hour, BUInt &minute, BUInt &second) const |
| | Return the time information UTC.
|
| |
| BUInt64 | getSeconds () const |
| | Return the number of seconds TAI.
|
| |
| BUInt64 | getMicroSeconds () const |
| | Return the number of micro seconds TAI.
|
| |
| int | isSet () const |
| | Check if set.
|
| |
| int | isLeapYear () |
| | Returns if a leap year.
|
| |
| void | addSeconds (BInt64 seconds) |
| | Add the given number of seconds.
|
| |
| void | addMicroSeconds (BInt64 microSeconds) |
| | Add the given number of seconds.
|
| |
| BString | getString (BString format="isoT") const |
| | Gets the date/time in string format.
|
| |
| BString | getStringUs (BString format="isoT") const |
| | Gets the date/time in string format.
|
| |
| BError | setString (const BString dateTime) |
| | Sets the date/time from string format.
|
| |
| | operator BTime () const |
| |
| int | operator== (const BTimeUs &time) const |
| |
| int | operator!= (const BTimeUs &time) const |
| |
| int | operator> (const BTimeUs &time) const |
| |
| int | operator>= (const BTimeUs &time) const |
| |
| int | operator< (const BTimeUs &time) const |
| |
| int | operator<= (const BTimeUs &time) const |
| |
| BTimeUs | operator+ (BInt64 microSeconds) const |
| |
| BTimeUs & | operator+= (BInt64 microSeconds) |
| |
Time storage as an unsigned 64bit value to TAI standard.