Documentation

Std.Time.Format

The ISO 8601 format, used for representing date and time in a standardized format. The format follows the pattern uuuu-MM-dd'T'HH:mm:ssXXX.

Instances For

    The americanDate format, which follows the pattern MM-dd-uuuu.

    Instances For

      The europeanDate format, which follows the pattern dd-MM-uuuu.

      Instances For

        The time12Hour format, which follows the pattern hh:mm:ss aa for representing time in a 12-hour clock format with an upper case AM/PM marker.

        Instances For

          The Time24Hour format, which follows the pattern HH:mm:ss for representing time in a 24-hour clock format.

          Instances For

            The DateTimeZone24Hour format, which follows the pattern uuuu-MM-dd:HH:mm:ss.SSSSSSSSS for representing date, time, and time zone.

            Instances For

              The DateTimeWithZone format, which follows the pattern uuuu-MM-dd'T'HH:mm:ss.SSSSSSSSSZZZ for representing date, time, and time zone.

              Instances For

                The leanTime24Hour format, which follows the pattern HH:mm:ss.SSSSSSSSS for representing time in a 24-hour clock format. It uses the default value that can be parsed with the notation of dates.

                Instances For

                  The leanTime24HourNoNanos format, which follows the pattern HH:mm:ss for representing time in a 24-hour clock format. It uses the default value that can be parsed with the notation of dates.

                  Instances For

                    The leanDateTime24Hour format, which follows the pattern uuuu-MM-dd'T'HH:mm:ss.SSSSSSSSS for representing date, time, and time zone. It uses the default value that can be parsed with the notation of dates.

                    Instances For

                      The leanDateTime24HourNoNanos format, which follows the pattern uuuu-MM-dd'T'HH:mm:ss for representing date, time, and time zone. It uses the default value that can be parsed with the notation of dates.

                      Instances For

                        The leanDateTimeWithZone format, which follows the pattern uuuu-MM-dd'T'HH:mm:ss.SSSSSSSSSZZZZZ for representing date, time, and time zone. It uses the default value that can be parsed with the notation of dates.

                        Instances For

                          The leanDateTimeWithZoneNoNanos format, which follows the pattern uuuu-MM-dd'T'HH:mm:ssZZZZZ for representing date, time, and time zone. It uses the default value that can be parsed with the notation of dates.

                          Instances For

                            The leanDateTimeWithIdentifier format, which follows the pattern uuuu-MM-dd'T'HH:mm:ss[z] for representing date, time, and time zone. It uses the default value that can be parsed with the notation of dates.

                            Instances For

                              The leanDateTimeWithIdentifierAndNanos format, which follows the pattern uuuu-MM-dd'T'HH:mm:ss.SSSSSSSSS'[z]' for representing date, time, and time zone. It uses the default value that can be parsed with the notation of dates.

                              Instances For

                                The Lean Date format, which follows the pattern uuuu-MM-dd. It uses the default value that can be parsed with the notation of dates.

                                Instances For

                                  The SQLDate format, which follows the pattern uuuu-MM-dd and is commonly used in SQL databases to represent dates.

                                  Instances For

                                    The LongDateFormat, which follows the pattern EEEE, MMMM d, uuuu HH:mm:ss for representing a full date and time with the day of the week and month name.

                                    Instances For

                                      The AscTime format, which follows the pattern EEE MMM d HH:mm:ss uuuu. This format is often used in older systems for logging and time-stamping events.

                                      Instances For

                                        The RFC822 format, which follows the pattern eee, dd MMM uuuu HH:mm:ss ZZZ. This format is used in email headers and HTTP headers.

                                        Instances For

                                          The RFC850 format, which follows the pattern eee, dd-MMM-YY HH:mm:ss ZZZ. This format is an older standard for representing date and time in headers.

                                          Instances For

                                            The HTTP-date format of RFC 9110 §5.6.7 (IMF-fixdate), which follows the pattern eee, dd MMM uuuu HH:mm:ss 'GMT', for example Sun, 06 Nov 1994 08:49:37 GMT. This is the format to use when generating HTTP header fields such as Date, Last-Modified and Expires. The zone is always the literal GMT; dates in other zones are converted when formatting.

                                            Instances For

                                              Parses a string into a TimeZone object. The input string must be in the format "VV ZZZZZ".

                                              Instances For

                                                Parses a string representing an offset into an Offset object. The input string must follow the "xxx" format.

                                                Instances For

                                                  Formats a PlainDate using a specific format and locale.

                                                  Instances For

                                                    Parses a date string in the American format (MM-dd-uuuu) and returns a PlainDate.

                                                    Instances For

                                                      Converts a date in the American format (MM-dd-uuuu) into a String.

                                                      Instances For

                                                        Parses a date string in the SQL format (uuuu-MM-dd) and returns a PlainDate.

                                                        Instances For

                                                          Converts a date in the SQL format (uuuu-MM-dd) into a String.

                                                          Instances For

                                                            Parses a date string in the Lean format (uuuu-MM-dd) and returns a PlainDate.

                                                            Instances For

                                                              Converts a date in the Lean format (uuuu-MM-dd) into a String.

                                                              Instances For

                                                                Parses a String in the AmericanDate or SQLDate format and returns a PlainDate.

                                                                Instances For
                                                                  @[instance_reducible]

                                                                  Formats a PlainTime using a specific format.

                                                                  Instances For

                                                                    Parses a time string in the 24-hour format (HH:mm:ss) and returns a PlainTime.

                                                                    Instances For

                                                                      Formats a PlainTime value into a 24-hour format string (HH:mm:ss).

                                                                      Instances For

                                                                        Parses a time string in the lean 24-hour format (HH:mm:ss.SSSSSSSSS or HH:mm:ss) and returns a PlainTime.

                                                                        Instances For

                                                                          Formats a PlainTime value into a 24-hour format string (HH:mm:ss.SSSSSSSSS).

                                                                          Instances For

                                                                            Parses a time string in the 12-hour format (hh:mm:ss aa) and returns a PlainTime.

                                                                            Instances For

                                                                              Formats a PlainTime value into a 12-hour format string (hh:mm:ss aa).

                                                                              Instances For

                                                                                Parses a String in the Time12Hour or Time24Hour format and returns a PlainTime.

                                                                                Instances For
                                                                                  @[instance_reducible]

                                                                                  Formats a DateTime using a specific format.

                                                                                  Instances For

                                                                                    Parses a String in the ISO8601 format and returns a DateTime.

                                                                                    Instances For

                                                                                      Formats a DateTime value into an ISO8601 string.

                                                                                      Instances For

                                                                                        Parses a String in the rfc822 format and returns a DateTime.

                                                                                        Instances For

                                                                                          Formats a DateTime value into an RFC822 format string.

                                                                                          Instances For

                                                                                            Parses a String in the rfc850 format and returns a DateTime.

                                                                                            Instances For

                                                                                              Formats a DateTime value into an RFC850 format string.

                                                                                              Instances For

                                                                                                Formats a DateTime as an HTTP-date (RFC 9110 §5.6.7), for example Sun, 06 Nov 1994 08:49:37 GMT. The result is always in GMT, whatever the zone of date.

                                                                                                Instances For

                                                                                                  Parses an HTTP-date (RFC 9110 §5.6.7). Accepts the preferred form produced by toHTTPDateString and the two obsolete forms that recipients are required to accept: RFC 850 (Sunday, 06-Nov-94 08:49:37 GMT) and asctime (Sun Nov 6 08:49:37 1994). A two-digit RFC 850 year yy is read as 19yy when yy ≥ 70 and as 20yy otherwise.

                                                                                                  Instances For

                                                                                                    Parses a String in the dateTimeWithZone format and returns a DateTime object in the GMT time zone.

                                                                                                    Instances For

                                                                                                      Formats a DateTime value into a simple date time with timezone string.

                                                                                                      Instances For

                                                                                                        Parses a String in the lean date time format with timezone format and returns a DateTime object.

                                                                                                        Instances For

                                                                                                          Parses a String in the lean date time format with identifier and returns a DateTime object.

                                                                                                          Instances For

                                                                                                            Formats a DateTime value into a simple date time with timezone string that can be parsed by the date% notation.

                                                                                                            Instances For

                                                                                                              Formats a DateTime value into a simple date time with timezone string that can be parsed by the date% notation with the timezone identifier.

                                                                                                              Instances For

                                                                                                                Parses a String in the ISO8601, RFC822 or RFC850 format and returns a DateTime.

                                                                                                                Instances For
                                                                                                                  @[instance_reducible]

                                                                                                                  Formats a PlainDateTime using a specific format and locale.

                                                                                                                  Instances For

                                                                                                                    Parses a String in the AscTime format and returns a PlainDateTime object in the GMT time zone.

                                                                                                                    Instances For

                                                                                                                      Formats a PlainDateTime value into an AscTime format string.

                                                                                                                      Instances For

                                                                                                                        Parses a String in the LongDateFormat and returns a PlainDateTime object in the GMT time zone.

                                                                                                                        Instances For

                                                                                                                          Formats a PlainDateTime value into a LongDateFormat string.

                                                                                                                          Instances For

                                                                                                                            Parses a String and returns a PlainDateTime.

                                                                                                                            Instances For

                                                                                                                              Formats a PlainDateTime value into a date time format string.

                                                                                                                              Instances For

                                                                                                                                Parses a String and returns a PlainDateTime.

                                                                                                                                Instances For

                                                                                                                                  Formats a PlainDateTime value into a leanDateTime24Hour format string.

                                                                                                                                  Instances For

                                                                                                                                    Parses a String in the AscTime or LongDate format and returns a PlainDateTime.

                                                                                                                                    Instances For