BaseCompareValidator.CutoffYear Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the maximum year that can be represented by a two-digit year.
protected:
static property int CutoffYear { int get(); };
protected static int CutoffYear { get; }
static member CutoffYear : int
Protected Shared ReadOnly Property CutoffYear As Integer
Property Value
The maximum year that can be represented by a two-digit year.
Remarks
Use the CutoffYear property to determine the maximum year that can be represented by a two-digit year in a 100-year range. For example, if this property contains the value 2029
, you can represent the years 1930 to 2029 using a two-digit year. The two-digit year 30 is interpreted as 1930, while 29 is interpreted as 2029. You cannot change the value of this property directly; however, you can change the maximum year that can be represented by a two-digit year by setting the Calendar.TwoDigitYearMax property.
Applies to
See also
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기