package core

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Source file timezone_types.ml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
open! Base

module Regime = struct
  (** When used from javascript, daylight savings and abbreviation information
      aren't available, so on that platform, [is_dst] is always false, and
      [abbrv] is always the empty string. *)
  type t =
    { utc_offset_in_seconds : Int63.t
    ; is_dst : bool
    ; abbrv : string
    }
end

module Transition = struct
  type t =
    { start_time_in_seconds_since_epoch : Int63.t
    ; new_regime : Regime.t
    }
end