cpp/locale/time get/get year

@1@ Public member function, calls the protected virtual member function of the most derived class. @2@ Reads successive characters from the sequence and parses out the year using some implementation-defined format. Depending on the locale, two-digit years may be accepted, and it is implementation-defined which century they belong to.

The parsed year is stored in the std structure field.

If the end iterator is reached before a valid year is read, the function sets std in. If a parsing error is encountered, the function sets std in.

Return value
Iterator pointing one past the last character in that was recognized as a part of a valid year.