Documentation

Std.Time.Time.HourMarker

HourMarker represents the two 12-hour periods of the day: am for hours between 12:00 AM and 11:59 AM, and pm for hours between 12:00 PM and 11:59 PM.

Instances For
    @[implicit_reducible]
    @[implicit_reducible]

    ofOrdinal converts an Hour.Ordinal value to an HourMarker, indicating whether it is AM or PM.

    Instances For

      Converts a 12-hour clock time to a 24-hour clock time based on the HourMarker.

      Instances For

        Converts a 24-hour clock time to a 12-hour clock time with a HourMarker.

        Instances For