#include <OnixS/B3/BOE/messaging/Time.h>
Definition at line 467 of file Time.h.
◆ Day
Integral type presenting the day component.
Definition at line 482 of file Time.h.
◆ Hour
Integral type presenting the hour component.
Definition at line 485 of file Time.h.
◆ Microsecond
Integral type presenting the microsecond component.
Definition at line 497 of file Time.h.
◆ Millisecond
Integral type presenting the millisecond component.
Definition at line 494 of file Time.h.
◆ Minute
Integral type presenting the minute component.
Definition at line 488 of file Time.h.
◆ Month
Type presenting the month component.
Definition at line 479 of file Time.h.
◆ Nanosecond
Integral type presenting the nanosecond component.
Definition at line 500 of file Time.h.
◆ Second
Integral type presenting the second component.
Definition at line 491 of file Time.h.
◆ Ticks
Integral type storing internal ticks.
Definition at line 471 of file Time.h.
◆ Year
Integral type presenting the year component.
Definition at line 474 of file Time.h.
◆ Timestamp() [1/3]
Initializes from the number of ticks since epoch.
Definition at line 507 of file Time.h.
◆ Timestamp() [2/3]
Explicit time-stamp initialization.
Input parameters are validated, therefore constructor throws an exception if input values do not fit into their valid ranges.
Definition at line 515 of file Time.h.
◆ Timestamp() [3/3]
◆ date()
◆ day()
◆ fromStr()
De-serializes a timestamp from the given string.
- Exceptions
-
| std::runtime_error | if the de-serialization is impossible. |
Definition at line 838 of file Time.h.
◆ hour()
◆ microsecond()
◆ millisecond()
◆ minute()
◆ month()
◆ nanosecond()
◆ operator=()
◆ second()
◆ sinceEpoch()
| Ticks sinceEpoch |
( |
| ) |
const |
|
inlinenoexcept |
- Returns
- the number of nanoseconds since the Epoch (01-01-1970).
Definition at line 622 of file Time.h.
◆ swap()
Exchanges the value.
Definition at line 635 of file Time.h.
◆ time()
- Returns
- the Time part of timestamp.
Definition at line 613 of file Time.h.
◆ toString()
- Returns
- a human-readable presentation.
Definition at line 872 of file Time.h.
◆ year()
- Returns
- the Year component.
Definition at line 537 of file Time.h.