Format

Creates a new format for parsing and formatting LocalTime values.

Example:

LocalTime.Format {
hour(); char(':'); minute(); char(':'); second()
optional { char('.'); secondFraction() }
}

Only parsing and formatting of well-formed values is supported. If the input does not fit the boundaries (for example, second is 60), consider using DateTimeComponents.Format instead.

There is a collection of predefined formats in LocalTime.Formats.