package odate

  1. Overview
  2. Docs

Module ODate.UnixSource

Sourcetype t
Sourceval beginning_of_the_day : ?tz:tz -> t -> t
Sourceval beginning_of_the_month : ?tz:tz -> t -> t
Sourceval beginning_of_the_week : ?tz:tz -> t -> t
Sourceval end_of_the_day : ?tz:tz -> t -> t
Sourceval end_of_the_month : ?tz:tz -> t -> t
Sourceval end_of_the_week : ?tz:tz -> t -> t
Sourceval gmt : tz
Sourceval compare : t -> t -> int
Sourceval some_if_valid : t -> t option
Sourceval now : unit -> t
Sourceval now_milliseconds : unit -> float
Sourceval get_std_timezone : unit -> tz_internal
Sourceval get_dst_timezone : t -> tz_internal
Sourceval epoch : t
Sourceval make : ?tz:tz -> ?s:int -> ?m:int -> ?h:int -> day:int -> month:month -> year:int -> unit -> t
Sourceval move : t -> d -> t
Sourceval advance_by_minutes : t -> int -> t
Sourceval advance_by_hours : t -> int -> t
Sourceval advance_by_days : t -> int -> t
Sourceval advance_by_months : t -> int -> t
Sourceval advance_by_years : t -> int -> t
Sourceval convert_with_tz : tz -> tz -> t -> t
Sourceval advance_by_weeks : t -> int -> t
Sourceval move_to_weekday : ?tz:tz -> t -> forward:bool -> weekday -> t
Sourceval calendar_advance : t -> ODuration.human_readable -> t
Sourceval between : t -> t -> d
Sourceval in_between : t -> t -> t
Sourceval max : t -> t -> t
Sourceval min : t -> t -> t
Sourceval is_after : t -> t -> bool
Sourceval is_before : t -> t -> bool
Sourceval is_epoch : t -> bool
Sourceval get_age : t -> int
Sourceval get_weekday : ?tz:tz -> t -> weekday
Sourceval get_day : ?tz:tz -> t -> int
Sourceval get_month : ?tz:tz -> t -> month
Sourceval get_year : ?tz:tz -> t -> year
Sourceval get_first_week : ?tz:tz -> year -> t
Sourceval get_week_number : ?tz:tz -> t -> int
Sourceval get_min : ?tz:tz -> t -> int
Sourceval get_hour : ?tz:tz -> t -> int
Sourceval get_sec : ?tz:tz -> t -> int
Sourcemodule Format : sig ... end
Sourcemodule Printer : sig ... end
Sourcemodule Parser : sig ... end
Sourcemodule From : sig ... end
Sourcemodule To : sig ... end
OCaml

Innovation. Community. Security.