Record: Civil
Time within some region relative to a time scale stipulated by civilian authorities.
Fields
- year int
- month int
- day int
- anydata...
- hour int
- minute int
- second Seconds
- anydata...
- utcOffset ZoneOffset?
- timeAbbrev string?
- which ZERO_OR_ONE?
- dayOfWeek DayOfWeek?
Year as an integer
Month as an integer (1 <= month <= 12)
Day as an integer (1 <= day <= 31)
Hour as an integer(0 <= hour <= 23)
Minute as an integer(0 <= minute <= 59)
Second as decimal value with nanoseconds precision
An optional zone offset
If present, abbreviation for the local time (e.g., EDT, EST) in effect at the time represented by this record; this is quite the same as the name of a time zone one time zone can have two abbreviations: one for standard time and one for daylight savings time
when the clocks are put back at the end of DST, one hour's worth of times occur twice i.e. the local time is ambiguous this says which of those two times is meant same as fold field in Python see https://www.python.org/dev/peps/pep-0495/ is_dst has similar role in struct tm, but with confusing semantics
Day of the week (e.g., SUNDAY, MONDAY, TUESDAY, ... SATURDAY)