TimeOfDay.fromISOExtString

TimeOfDay fromISOExtString(S)(scope const S isoExtString) if (isSomeString!S) @safe pure

Creates a TimeOfDay from a string with the format HH:MM:SS. Whitespace is stripped from the given string.

Parameters

isoExtStringA string formatted in the ISO Extended format for times.

Throws

DateTimeException if the given string is

not in the ISO Extended format or if the resulting TimeOfDay would not be valid.