@@ -51,17 +51,17 @@ defmodule Calendar do
5151 @ type std_offset :: integer
5252
5353 @ 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 }
5555
5656 @ 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 }
5858
5959 @ 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 ,
6161 hour: hour , minute: minute , second: second , microsecond: microsecond }
6262
6363 @ 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 ,
6565 hour: hour , minute: minute , second: second , microsecond: microsecond ,
6666 time_zone: time_zone , zone_abbr: zone_abbr , utc_offset: utc_offset , std_offset: std_offset }
6767
0 commit comments