sig
  type t = Time.Date.t = private { y : int; m : Month.t; d : int; }
  val bin_size_t : t Bin_prot.Size.sizer
  val bin_write_t : t Bin_prot.Write_ml.writer
  val bin_write_t_ : t Bin_prot.Unsafe_write_c.writer
  val bin_writer_t : t Bin_prot.Type_class.writer
  val bin_read_t : t Bin_prot.Read_ml.reader
  val bin_read_t_ : t Bin_prot.Unsafe_read_c.reader
  val bin_read_t__ : (int -> t) Bin_prot.Unsafe_read_c.reader
  val bin_reader_t : t Bin_prot.Type_class.reader
  val bin_t : t Bin_prot.Type_class.t
  val sexp_of_t : t -> Sexplib.Sexp.t
  val t_of_sexp : Sexplib.Sexp.t -> t
  type sexpable = t
  val sexp_of_t : sexpable -> Sexplib.Sexp.t
  val t_of_sexp : Sexplib.Sexp.t -> sexpable
  type binable = t
  val bin_size_t : binable Bin_prot.Size.sizer
  val bin_write_t : binable Bin_prot.Map_to_safe.writer
  val bin_write_t_ : binable Bin_prot.Unsafe_write_c.writer
  val bin_read_t : binable Bin_prot.Read_ml.reader
  val bin_read_t_ : binable Bin_prot.Unsafe_read_c.reader
  val bin_read_t__ : (int -> binable) Bin_prot.Unsafe_read_c.reader
  type hashable = t
  val equal : hashable -> hashable -> bool
  val hash : hashable -> int
  module Table :
    sig
      type key = hashable
      type 'a t = 'Time.Date.Table.t
      val create : int -> 'a t
      val clear : 'a t -> unit
      val copy : 'a t -> 'a t
      val add : 'a t -> key:key -> data:'-> unit
      val remove : 'a t -> key -> unit
      val find_all : 'a t -> key -> 'a list
      val replace : 'a t -> key:key -> data:'-> unit
      val mem : 'a t -> key -> bool
      val iter : f:(key:key -> data:'-> unit) -> 'a t -> unit
      val fold : f:(key:key -> data:'-> '-> 'b) -> 'a t -> init:'-> 'b
      val length : 'a t -> int
      val find_default : 'a t -> key -> default:(unit -> 'a) -> 'a
      val find : 'a t -> key -> 'a option
      val find_exn : 'a t -> key -> 'a
      val iter_vals : f:('-> unit) -> 'a t -> unit
      val of_alist : (key * 'a) list -> 'a t
      val to_alist : 'a t -> (key * 'a) list
      val keys : 'a t -> key list
      val data : 'a t -> 'a list
      val sexp_of_t : ('-> Sexplib.Sexp.t) -> 'a t -> Sexplib.Sexp.t
      val t_of_sexp : (Sexplib.Sexp.t -> 'a) -> Sexplib.Sexp.t -> 'a t
      module Infix :
        sig
          val ( |> ) : 'a t -> key -> 'a
          val ( |?> ) : 'a t -> key -> 'a option
          val ( <| ) : 'a t -> key * '-> unit
        end
    end
  module Hash_set :
    sig
      type elt = hashable
      type 'a elt_ = elt
      type 'a set = 'Time.Date.Hash_set.set
      val create : int -> 'a set
      val add : 'a set -> 'a elt_ -> unit
      val strict_add : 'a set -> 'a elt_ -> unit
      val remove : 'a set -> 'a elt_ -> unit
      val strict_remove : 'a set -> 'a elt_ -> unit
      val clear : 'a set -> unit
      val fold : f:('-> 'b elt_ -> 'a) -> init:'-> 'b set -> 'a
      val iter : f:('a elt_ -> unit) -> 'a set -> unit
      val length : 'a set -> int
      val mem : 'a set -> 'a elt_ -> bool
      val of_list : 'a elt_ list -> 'a set
      val to_list : 'a set -> 'a elt_ list
      type t = unit set
      val sexp_of_t : t -> Sexplib.Sexp.t
      val t_of_sexp : Sexplib.Sexp.t -> t
    end
  module Hash_queue :
    sig
      module Key :
        sig
          type t = hashable
          val equal : t -> t -> bool
          val hash : t -> int
          val sexp_of_t : t -> Sexplib.Sexp.t
          val t_of_sexp : Sexplib.Sexp.t -> t
        end
      type 'a t = 'Time.Date.Hash_queue.t
      type 'a container = 'a t
      val length : 'a container -> int
      val is_empty : 'a container -> bool
      val iter : 'a container -> f:('-> unit) -> unit
      val fold : 'a container -> init:'-> f:('-> '-> 'b) -> 'b
      val exists : 'a container -> f:('-> bool) -> bool
      val for_all : 'a container -> f:('-> bool) -> bool
      val find : 'a container -> f:('-> bool) -> 'a option
      val to_list : 'a container -> 'a list
      val to_array : 'a container -> 'a array
      val invariant : 'a t -> unit
      val create : unit -> 'a t
      val clear : 'a t -> unit
      val mem : 'a t -> Key.t -> bool
      val find_opt : 'a t -> Key.t -> 'a option
      val enqueue : 'a t -> Key.t -> '-> [ `Key_already_present | `Ok ]
      val dequeue : 'a t -> 'a option
      val dequeue_with_key : 'a t -> (Key.t * 'a) option
      val dequeue_all : 'a t -> f:('-> unit) -> unit
      val remove : 'a t -> Key.t -> [ `No_such_key | `Ok ]
      val replace : 'a t -> Key.t -> '-> [ `No_such_key | `Ok ]
      val iter_keys : 'a t -> f:(key:Key.t -> data:'-> unit) -> unit
      val fold_keys :
        'a t -> init:'-> f:('-> key:Key.t -> data:'-> 'b) -> 'b
    end
  type stringable = t
  val of_string : string -> stringable
  val to_string : stringable -> string
  type comparable = t
  val ( >= ) : comparable -> comparable -> bool
  val ( <= ) : comparable -> comparable -> bool
  val ( = ) : comparable -> comparable -> bool
  val ( > ) : comparable -> comparable -> bool
  val ( < ) : comparable -> comparable -> bool
  val ( <> ) : comparable -> comparable -> bool
  val compare : comparable -> comparable -> int
  val ascending : comparable -> comparable -> int
  val descending : comparable -> comparable -> int
  val min : comparable -> comparable -> comparable
  val max : comparable -> comparable -> comparable
  val sexp_of_t_style : [ `Atom_yyyy_mm_dd | `List_ymd ] ref
  val create : y:int -> m:Month.t -> d:int -> t
  val of_tm : Core_unix.tm -> t
  val to_string_iso8601_extended : t -> string
  val to_string_iso8601_basic : t -> string
  val min_value : t
  val max_value : t
  val pp : Format.formatter -> t -> unit
  val day : t -> int
  val month : t -> Month.t
  val year : t -> int
  val today : unit -> t
  val is_weekday : t -> bool
  val add_days : t -> int -> t
  val add_weekdays : t -> int -> t
  val dates_between : min:t -> max:t -> t list
end