summaryrefslogtreecommitdiff
path: root/lib/date/types.myr
diff options
context:
space:
mode:
Diffstat (limited to 'lib/date/types.myr')
-rw-r--r--lib/date/types.myr16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/date/types.myr b/lib/date/types.myr
index 3e3af76..0849052 100644
--- a/lib/date/types.myr
+++ b/lib/date/types.myr
@@ -4,14 +4,14 @@ pkg date =
type instant = struct
actual : std.time /* epoch time in microseconds */
tzoff : duration /* timezone offset in microseconds */
- year : int /* year, starting at 0 (ie, 1 BCE) */
- mon : int /* month, [1..12] */
- day : int /* day, [1..31] */
- wday : int /* weekday, [0..6] */
- h : int /* hour: [0..23] */
- m : int /* minute: [0..59] */
- s : int /* second: [0..59] */
- us : int /* microsecond: [0..999,999] */
+ year : int /* year, starting at 0 (ie, 1 BCE) */
+ mon : int /* month, [1..12] */
+ day : int /* day, [1..31] */
+ wday : int /* weekday, [0..6] */
+ h : int /* hour: [0..23] */
+ m : int /* minute: [0..59] */
+ s : int /* second: [0..59] */
+ us : int /* microsecond: [0..999,999] */
tzname : byte[:] /* current time zone name */
_tzbuf : byte[32] /* current time zone name storage */
;;