package accessor_core

  1. Overview
  2. Docs
val span_since_epoch : (_, Core_kernel.Time.Span.t, Core_kernel.Time.t, [< Accessor_core__.Import.isomorphism ]) Accessor_base.Simple.t

Access the time as a span since Time.epoch

date_ofday, date and ofday present a time as a Date.t * Time.Ofday.t. They are not well behaved accessors during time shifts (e.g. when transitioning to or from daylight savings time). See the explanation of well-behaveness in the Accessor documentation.

val date_ofday : Core_kernel.Time.Zone.t -> (_, Core_kernel.Date.t * Core_kernel.Time.Ofday.t, Core_kernel.Time.t, [< Accessor_core__.Import.isomorphism ]) Accessor_base.Simple.t
val date : Core_kernel.Time.Zone.t -> (_, Core_kernel.Date.t, Core_kernel.Time.t, [< Accessor_core__.Import.field ]) Accessor_base.Simple.t
val ofday : Core_kernel.Time.Zone.t -> (_, Core_kernel.Time.Ofday.t, Core_kernel.Time.t, [< Accessor_core__.Import.field ]) Accessor_base.Simple.t
OCaml

Innovation. Community. Security.