SimpleDate Members

Include Protected Members
Include Inherited Members

Represents a date value containing the year, month, and day in any local calendar.

The SimpleDate type exposes the following members.

Constructors

  Name Description
Public method SimpleDate(Int32, Int32, Int32) Initializes a new instance of the SimpleDate class using the specified year, month and day values.
Public method SimpleDate(Int32, Int32, Int32, Int32) Initializes a new instance of the SimpleDate class using the specified year, month, day and era values.

Top

Properties

  Name Description
Public property Day Gets or sets the integer day value of the date.
Public property Era Gets or sets the integer era value of the date.
Public property Month Gets or sets the integer month value of the date.
Public property Year Gets or sets the integer year value of the date.

Top

Methods

  Name Description
Public method Equals Returns a Boolean value indicating whether the values of the SimpleDate and the specified SimpleDate object are equivalent. (Overrides ValueType.Equals(Object).)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode Returns the hash code for the date. (Overrides ValueType.GetHashCode().)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from ValueType.)

Top

Operators

  Name Description
Public operatorStatic member Equality Returns a Boolean value indicating whether two SimpleDate values are equivalent.
Public operatorStatic member GreaterThan Returns a Boolean value indicating whether one SimpleDate value is greater than another.
Public operatorStatic member GreaterThanOrEqual Returns a Boolean value indicating whether one SimpleDate value is greater than or equal to another.
Public operatorStatic member Inequality Returns a Boolean value indicating whether two SimpleDate values are not equivalent.
Public operatorStatic member LessThan Returns a Boolean value indicating whether one SimpleDate value is less than another.
Public operatorStatic member LessThanOrEqual Returns a Boolean value indicating whether one SimpleDate value is less than or equal to another.

Top

See Also

Reference

SimpleDate Structure

Microsoft.SharePoint.Utilities Namespace