links

The Links Programming Language
IN THIS PACKAGE
type t =
| Timestamp of Utility.CalendarShow.t
| MinusInfinity
| Infinity
val compare : t -> t -> Ppx_deriving_runtime.int
val timestamp : Utility.CalendarShow.t -> t
val now : unit -> t
val infinity : t
val minus_infinity : t
val pp : Format.formatter -> t -> unit
val show : t -> string
val to_string : t -> string
val parse_string : string -> [> `Infinity | `MinusInfinity | `Timestamp of Utility.CalendarShow.t * int option ]
val parse_user_string : string -> t

Parses a user timestamp string. Lack of an offset is assumed to mean local time.

val parse_db_string : string -> t

Parses a database timestamp string. Lack of an offset is assumed to mean UTC.