package sihl

  1. Overview
  2. Docs
The Sihl web framework

Install

Dune Dependency

Authors

Maintainers

Sources

3.0.3.tar.gz
md5=d1502bb2a31114e33f539910bfce1139
sha512=6f5b4d1c6e6eb7c77fb483ef52eea5f69b75079830ec622a552fef33c4fe87f6a70499db9621a8fa298a80aa21649e0047aaba1b9eb53d28c2d573e1f84acf92

doc/sihl/Sihl/Time/index.html

Module Sihl.TimeSource

Sourcetype duration =
  1. | OneSecond
  2. | OneMinute
  3. | TenMinutes
  4. | OneHour
  5. | OneDay
  6. | OneWeek
  7. | OneMonth
  8. | OneYear
Sourceval duration_to_yojson : duration -> Yojson.Safe.t
Sourceval pp_duration : Format.formatter -> duration -> unit
Sourceval show_duration : duration -> string
Sourceval equal_duration : duration -> duration -> bool
Sourceval duration_to_span : duration -> Ptime.span
Sourceval date_from_now : Ptime.t -> duration -> Ptime.t
Sourceval ptime_to_yojson : Ptime.t -> [> `String of string ]
Sourceval ptime_of_yojson : Yojson.Safe.t -> (Ptime.t, string) result
Sourceval ptime_of_date_string : string -> (Ptime.t, string) result
Sourceval ptime_to_date_string : Ptime.t -> string
Sourcemodule Span : sig ... end
OCaml

Innovation. Community. Security.