PowerTools PlusPak for Windows Forms 8.0J
EraYear プロパティ

日付データの元号で表した年を取得します。
構文
Public ReadOnly Property EraYear As Integer
public int EraYear {get;}
解説
指定した日付が一部の極東国の年号範囲に含まれない場合があります。その場合、EraYear は -1 を返します。
プラットフォーム

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

参照

DateTimeEx クラス
DateTimeEx メンバ

Send Feedback