package core_unix

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val to_date_and_span_since_start_of_day : t -> Core__.Date0.t * Core.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__.Date0.t -> Core.Time_ns.Span.t -> t

The inverse of to_date_and_span_since_start_of_day.