Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type error = [
| `Invalid_year of int
| `Invalid_day of int
| `Invalid_hour of int
| `Invalid_minute of int
| `Invalid_second of int
| `Invalid_pattern_combination
| `Invalid_tz_info of string option * Timedesc.Span.t
]
exception Error_exn of error
val make :
?tz:Timedesc.Time_zone.t ->
?offset_from_utc:Timedesc.Span.t ->
?year:int ->
?month:int ->
?day:int ->
?weekday:Timedesc.weekday ->
?hour:int ->
?minute:int ->
second:int ->
unit ->
(t, error) result
make_points
call must be exactly one of the following forms (ignoring tz
and tz_offset_s
which are optional in all cases)
make_points ~year:_ ~month:_ ~day:_ ~hour:_ ~minute:_ ~second:_ () make_points ~month:_ ~day:_ ~hour:_ ~minute:_ ~second:_ () make_points ~day:_ ~hour:_ ~minute:_ ~second:_ () make_points ~weekday:_ ~hour:_ ~minute:_ ~second:_ () make_points ~hour:_ ~minute:_ ~second:_ () make_points ~minute:_ ~second:_ () make_points ~second:_ ()
returns Error
otherwise
val make_exn :
?tz:Timedesc.Time_zone.t ->
?offset_from_utc:Timedesc.Span.t ->
?year:int ->
?month:int ->
?day:int ->
?weekday:Timedesc.weekday ->
?hour:int ->
?minute:int ->
second:int ->
unit ->
t