-api-id | -api-type |
---|---|
P:Windows.Globalization.Calendar.Era |
winrt property |
Gets or sets the era.
The integer that represents the era.
Note
This API is being updated to support the May 2019 Japanese era change. If your application supports the Japanese calendar, you should validate that it properly handles the new era. See Prepare your application for the Japanese era change for more information.
Calendar, date, and time controls, Calendar sample, Date and time formatting sample