sig
type t = {
year : int;
month : int;
day : int;
hour : int;
minute : int;
second : int;
nanos : int;
zone : int;
week_day : int;
}
val localzone : int
val get_localzone : unit -> int
val create :
?localzone:bool -> ?zone:int -> ?nanos:int -> float -> Netdate.t
val parse : ?localzone:bool -> ?zone:int -> string -> Netdate.t
val since_epoch : Netdate.t -> float
val since_epoch_timespec : Netdate.t -> float * int
val since_epoch_approx : Netdate.t -> float
val parse_epoch : ?localzone:bool -> ?zone:int -> string -> float
val parse_epoch_timespec :
?localzone:bool -> ?zone:int -> string -> float * int
val parse_epoch_approx : ?localzone:bool -> ?zone:int -> string -> float
val format_to :
Netchannels.out_obj_channel -> fmt:string -> Netdate.t -> unit
val format : fmt:string -> Netdate.t -> string
val mk_date :
?localzone:bool ->
?zone:int -> ?nanos:int -> fmt:string -> float -> string
val mk_mail_date : ?localzone:bool -> ?zone:int -> float -> string
val mk_usenet_date : ?localzone:bool -> ?zone:int -> float -> string
val mk_internet_date :
?localzone:bool -> ?zone:int -> ?digits:int -> float -> string
end