package email_message

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

Module Email_message.Email_dateSource

Sourceval rfc822_date : ?zone:Core.Time_float.Zone.t -> Core.Time_float.t -> string

Generate an RFC822-style date

Sourceval 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.

Sourceval 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.