GregorianCalendar.Eras プロパティ
GregorianCalendar における時代 (年号) のリストを取得します。
Overrides Public ReadOnly Property Eras As Integer ()
[C#]
public override int[] Eras {get;}
[C++]
public: __property int get_Eras();
[JScript]
public override function get Eras() : int[];
プロパティ値
時代 (年号) を GregorianCalendar で表す整数の配列。
解説
グレゴリオ暦では、B.C (Before Christ: キリスト以前) または B.C.E (Before Common Era: 紀元前)、および A.D (ラテン語で "主の年" を意味する "Anno Domini") または C.E. (Common Era: 紀元) の 2 つの時代 (年号) が認識されます。 GregorianCalendar クラスのこの実装は、現在の時代 (年号) (A.D または C.E) だけを認識します。このプロパティは、常に、要素が 1 つだけの配列を返します。
必要条件
プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ, .NET Compact Framework - Windows CE .NET
参照
GregorianCalendar クラス | GregorianCalendar メンバ | System.Globalization 名前空間 | CurrentEra | ADEra