package incremental_kernel

  1. Overview
  2. Docs
val to_date_and_span_since_start_of_day : t -> Core_kernel__.Date0.t * Core_kernel.Time_ns.Span.t

to_date_and_span_since_start_of_day computes the date and intraday-offset of a time in UTC. It may be slower than Core.Time_ns.to_date_ofday, as this function does not cache partial results while the latter does.

val of_date_and_span_since_start_of_day : Core_kernel__.Date0.t -> Core_kernel.Time_ns.Span.t -> t

The inverse of to_date_and_span_since_start_of_day.

OCaml

Innovation. Community. Security.