package email_message

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val rfc822_date : ?zone:Core.Time_float.Zone.t -> Core.Time_float.t -> string

Generate an RFC822-style date

val of_string_exn : string -> Core.Time_float.t

Parse an RFC822-style string into a Time.t.

Note that if the weekday is provided, it will not be semantically validated.

val of_string_exn_with_time_zone : string -> Core.Time_float.t * Core.Time_float.Zone.t

Similar to of_string_exn, but also return back the time zone that was parsed from the provided string.