Share via


DateTimeUnit Enumeration

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Date time unit.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Validation.Validators
Assembly:  Microsoft.Practices.EnterpriseLibrary.Validation (in Microsoft.Practices.EnterpriseLibrary.Validation.dll)

Syntax

'Declaration
PublicEnumerationDateTimeUnit
publicenumDateTimeUnit
publicenum classDateTimeUnit
publicenum DateTimeUnit

Members

Member name Value Description
None 0 No units.
Second 1 Seconds.
Minute 2 Minutes.
Hour 3 Hours.
Day 4 Days.
Month 5 Months.
Year 6 Years.

See Also

Microsoft.Practices.EnterpriseLibrary.Validation.Validators Namespace

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.