package email_message

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val rfc822_date : Core.Time.t -> string

Generate an RFC822-style date

val of_string_exn : string -> Core.Time.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.t * Core.Time.Zone.t

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

OCaml

Innovation. Community. Security.