Spread Windows Forms 18
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.CellType Namespace / DateTimeCellType Class / TwoDigitYearMax Property


In This Topic
    TwoDigitYearMax Property (DateTimeCellType)
    In This Topic
    Gets or sets the last year of a 100-year range that can be represented by a 2-digit year.
    Syntax
    'Declaration
     
    
    Public Property TwoDigitYearMax As Integer
    'Usage
     
    
    Dim instance As DateTimeCellType
    Dim value As Integer
     
    instance.TwoDigitYearMax = value
     
    value = instance.TwoDigitYearMax
    public int TwoDigitYearMax {get; set;}
    Exceptions
    ExceptionDescription
    Specified value is out of range for Gregorian calendar; must be between 100 and 9999
    Specified value is out of range for Hijri calendar; must be between 100 and 9666
    Specified value is out of range for Hebrew calendar; must be between 5343 and 6000
    See Also