Hunny Software Library Reference

DateTime Members

DateTime overview

Public Instance Constructors

DateTimeOverloaded. Initializes a new instance of the DateTime class.

Public Instance Properties

Day Gets the day of the month.
DayOfTheWeek Gets the day of the week.
FoldingEnabled (inherited from FieldBody) Enables or disables line folding.
Hour Gets the hour.
Minute Gets the minute.
Modified (inherited from Node) Gets or sets the is-modified flag.
Month Gets the month.
Parent (inherited from Node) Gets or sets the parent Node object.
Second Gets the second.
String (inherited from Node) Gets or sets the string representation.
Text (inherited from FieldBody) Gets or sets the unfolded text of the field body.
Year Gets the year.
Zone Gets the zone.

Public Instance Methods

AsPosixTime Gets the date and time as a system time.
Assemble Assembles the string representation.
Clone Creates a copy of this object.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
FromPosixTime Sets the date and time from a system time.
GetHashCode (inherited from Object)Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
Parse Parses the string representation.
SetValuesLiteral Sets the date-time value as specified.
SetValuesLocal Sets the date-time value as specified, assuming local time.
ToString (inherited from Node) Returns the string representation as a System.String.

Protected Instance Fields

mIsModified (inherited from Node) The is-modified flag.
mParent (inherited from Node) The parent Node.
mString (inherited from Node) The string representation.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MaybeFold (inherited from FieldBody) Folds the string representation, if line folding is enabled.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

DateTime Class | Hunny.Mime Namespace