Calendar.DaysInYearBeforeMinSupportedYear 属性

定义

获取 MinSupportedDateTime 属性指定的年份之前的年中天数。Gets the number of days in the year that precedes the year that is specified by the MinSupportedDateTime property.

protected:
 virtual property int DaysInYearBeforeMinSupportedYear { int get(); };
protected virtual int DaysInYearBeforeMinSupportedYear { get; }
member this.DaysInYearBeforeMinSupportedYear : int
Protected Overridable ReadOnly Property DaysInYearBeforeMinSupportedYear As Integer

属性值

MinSupportedDateTime 指定的在年之前的一年的天数。The number of days in the year that precedes the year specified by MinSupportedDateTime.

注解

此属性返回的常量值为365。This property returns a constant value of 365. 请注意,属性值可由派生自 Calendar 类的类重写。Note that the property value can be overridden by classes derived from the Calendar class.

适用于