module Month:sig..end
sexp_of_t_mode controls how months are converted to strings by sexp_of_t.
`Upper JAN
`Lower jan
`Capitalized Jan
The default is `Upper
type t
include Binable.S
include Comparable.S
include Hashable.S
include Sexpable.S
sexp_of_t_mode controls how months are converted to strings by sexp_of_t.
`Upper JAN
`Lower jan
`Capitalized Jan
The default is `Upper
val sexp_of_t_mode : [ `Capitalized | `Lower | `Upper ] Pervasives.refinclude Stringable.S
of_string s accepts three-character abbreviations with any capitalizationval invariant : t -> unitval jan : tval feb : tval mar : tval apr : tval may : tval jun : tval jul : tval aug : tval sep : tval oct : tval nov : tval dec : tval all : t listtypevariant =[ `Apr
| `Aug
| `Dec
| `Feb
| `Jan
| `Jul
| `Jun
| `Mar
| `May
| `Nov
| `Oct
| `Sep ]
val get : t -> variantval create : variant -> tval of_int : int -> t optionof_int i returns i'th month if i is in 1,2,...,12. Otherwise it returns
None.val of_int_exn : int -> tof_int_exn i should have i in 1,2,...,12 and returns the i'th month.val to_int : t -> intto_int t returns an int in 1,2,...12.val shift : t -> int -> tshift t i goes forward (or backward) the specified number of months