Struct SolidSyslogTimestamp¶
ClassList > SolidSyslogTimestamp
Broken-down timestamp as emitted by a SolidSyslogClockFunction. More...
#include <SolidSyslogTimestamp.h>
Public Attributes¶
| Type | Name |
|---|---|
| uint8_t | Day 1-31. |
| uint8_t | Hour 0-23. |
| uint32_t | Microsecond 0-999999. |
| uint8_t | Minute 0-59. |
| uint8_t | Month 1-12. |
| uint8_t | Second 0-59. |
| int16_t | UtcOffsetMinutes Minutes from UTC; 0 for UTC. |
| uint16_t | Year Gregorian year, e.g. |
Detailed Description¶
All calendar/time fields are expressed in the timezone indicated by UtcOffsetMinutes; the built-in POSIX and Windows clocks both produce UTC (UtcOffsetMinutes == 0).
A clock may leave the struct zeroed to signal "no usable timestamp": the library validates each field before formatting, and a zeroed struct fails validation because Month == 0 is out of range.
Public Attributes Documentation¶
variable Day¶
1-31.
variable Hour¶
0-23.
variable Microsecond¶
0-999999.
variable Minute¶
0-59.
variable Month¶
1-12.
variable Second¶
0-59.
Leap seconds are not represented.
variable UtcOffsetMinutes¶
Minutes from UTC; 0 for UTC.
Valid -720..840 (UTC-12:00 to UTC+14:00).
variable Year¶
Gregorian year, e.g.
- Not range-checked; clocks are trusted here.
The documentation for this class was generated from the following file Core/Interface/SolidSyslogTimestamp.h