Year

Example: 1997. The corresponding DateTimeFormatter pattern is: "yyyy"

Since

200.1.0

Inherited properties

Link copied to clipboard

A DateTimeFormatter matching this format's pattern. The returned DateTimeFormatter honors locale-specific formatting and follows CLDR standards.

Link copied to clipboard

A pattern representing the date format using symbols compatible with DateTimeFormatter.