Calendar.LastEra プロパティ

定義

カレンダーで使用できる最後の 時代 (Era) を取得します。

public:
 property int LastEra { int get(); };
int LastEra();
public int LastEra { get; }
var int32 = calendar.lastEra;
Public ReadOnly Property LastEra As Integer

プロパティ値

Int32

int

カレンダーの最後の 時代 (Era ) です。

注釈

注意

この API は、2019 年 5 月の日本の時代変更をサポートするように更新されています。 アプリケーションで日本語カレンダーがサポートされている場合は、新しい時代 (年号) が適切に処理されていることを検証する必要があります。 詳細については、「 日本の時代 (年号) の変更に合わせてアプリケーションを準備 する」を参照してください。

適用対象

こちらもご覧ください