envzn
0.8 · beta · not released

Library / Date and time / Date and time / DateTimeFields

STRUCT

DateTimeFields

DateTimeFields — the seven UTC calendar fields Calendar.epochMsToFields fills for DateTime's INITs. All int32. Not part of the public DateTime surface — callers read the public fields on the DateTime instance. (ev_time_to_fields, and its C layout was pinned at 28 bytes, Calendar.ev is Envzn now.)

Fields 7

int32 year
int32 month
int32 day
int32 hour
int32 minute
int32 second
int32 millisecond