Επεξεργασία

Κοινή χρήση μέσω


JapaneseLunisolarCalendar.JapaneseEra Field

Definition

Specifies the current era.

public: int JapaneseEra = 1;
public const int JapaneseEra = 1;
val mutable JapaneseEra : int
Public Const JapaneseEra As Integer  = 1

Field Value

Value = 1

Remarks

The value of this field is 1.

Important

Eras in the Japanese calendars are based on the emperor's reign and are therefore expected to change. For example, May 1, 2019 marked the beginning of the Reiwa era in the JapaneseCalendar and JapaneseLunisolarCalendar. Such a change of era affects all applications that use these calendars. For more information and to determine whether your applications are affected, see Handling a new era in the Japanese calendar in .NET. For information on testing your applications on Windows systems to ensure their readiness for the era change, see Prepare your application for the Japanese era change. For features in .NET that support calendars with multiple eras and for best practices when working with calendars that support multiple eras, see Working with eras.

Applies to