The Portrate Interview Engine

YearValidator Class

Validates the value of a year on a date. By default, this validator will prevent years that are earlier than today's year. With configuration, the lower and upper bound on years can be specified. Supports 2-digit and 4-digit years. 2-digit years will be interpreted as "last century" when they are less than 50.

 Author: Jacob W Anderson 

For a list of all members of this type, see YearValidator Members.

System.Object
   Portrate.Interview.Model.Validation.AbstractValidator
      Portrate.Interview.Model.Validation.YearValidator

[Visual Basic]
Public Class YearValidator
    Inherits AbstractValidator
[C#]
public class YearValidator : AbstractValidator
[C++]
public __gc class YearValidator : public AbstractValidator
[JScript]
public class YearValidator extends AbstractValidator

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Requirements

Namespace: Portrate.Interview.Model.Validation

Assembly: Portrate.Interview (in Portrate.Interview.dll)

See Also

YearValidator Members | Portrate.Interview.Model.Validation Namespace