TimeOfDay.fromISOString

TimeOfDay fromISOString(S)(scope const S isoString) if (isSomeString!S) @safe pure

Creates a TimeOfDay from a string with the format HHMMSS. Whitespace is stripped from the given string.

Parameters

isoStringA string formatted in the ISO format for times.

Throws

DateTimeException if the given string is

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