Template:cpp/chrono/from stream format

The format string consists of zero or more conversion specifiers and ordinary characters. Each ordinary character, excluding whitespace characters and the terminating null character, matches one identical character from the input stream, or causes the function to fail if the next character on the stream does not compare equal.

Each whitespace character matches zero or more whitespace characters in the input stream.

Each unmodified conversion specifier begins with a character followed by a character that determines the behavior of the specifier. Some conversion specifiers have a modified form in which an or  modifier character is inserted after the  character. Some conversion specifiers have a modified form in which a width parameter given as a positive decimal integer (shown as  below) is inserted after the character. Each conversion specifier causes the matched characters to be interpreted as parts of date and time types according to the table below.

A character sequence in the format string that begins with a but does not match one of the conversion specifiers below is interpreted as ordinary characters.

If fails to parse everything specified by the format string, or if insufficient information is parsed to specify a complete result, or if parsing discloses contradictory information,  is called.

The following conversion specifiers are available: