@@ -51,17 +51,17 @@ defmodule Calendar do
51
51
@ type std_offset :: integer
52
52
53
53
@ typedoc "Any map/struct that contains the date fields"
54
- @ type date :: % { calendar: calendar , year: year , month: month , day: day }
54
+ @ type date :: % { optional ( any ) => any , calendar: calendar , year: year , month: month , day: day }
55
55
56
56
@ typedoc "Any map/struct that contains the time fields"
57
- @ type time :: % { hour: hour , minute: minute , second: second , microsecond: microsecond }
57
+ @ type time :: % { optional ( any ) => any , hour: hour , minute: minute , second: second , microsecond: microsecond }
58
58
59
59
@ typedoc "Any map/struct that contains the naive_datetime fields"
60
- @ type naive_date_time :: % { calendar: calendar , year: year , month: month , day: day ,
60
+ @ type naive_date_time :: % { optional ( any ) => any , calendar: calendar , year: year , month: month , day: day ,
61
61
hour: hour , minute: minute , second: second , microsecond: microsecond }
62
62
63
63
@ typedoc "Any map/struct that contains the datetime fields"
64
- @ type date_time :: % { calendar: calendar , year: year , month: month , day: day ,
64
+ @ type date_time :: % { optional ( any ) => any , calendar: calendar , year: year , month: month , day: day ,
65
65
hour: hour , minute: minute , second: second , microsecond: microsecond ,
66
66
time_zone: time_zone , zone_abbr: zone_abbr , utc_offset: utc_offset , std_offset: std_offset }
67
67
0 commit comments