TechTalk Genome v4.2

NullableDateTime Members

NullableDateTime overview

Public Static Fields

MaxValue Represents the largest possible value of NullableTypes.NullableDateTime. This field is read-only.
MinValue Represents the smallest possible value of NullableTypes.NullableDateTime. This field is read-only.
Null Represents the null value of NullableTypes.NullableDateTime. This field is read-only. A Null is the absence of a value because missing, unknown, or inapplicable value. A Null should not be used to imply any other value (such as zero). Also any value (such as zero) should not be used to imply the absence of a value, that's why Null exists.
TicksPerDay Number of ticks per day. This field is read-only.
TicksPerHour Number of ticks per hour. This field is read-only.
TicksPerMillisecond Number of ticks per millisecond. This field is read-only.
TicksPerMinute Number of ticks per minute. This field is read-only.
TicksPerSecond Number of ticks per second. This field is read-only.

Public Static Methods

Equals Compare two NullableDateTime instances for equality.
GreaterThan Compare two NullableDateTime instances.
GreaterThanOrEqual Compare two NullableDateTime instances.
LessThan Compare two NullableDateTime instances.
LessThanOrEqual Compare two NullableDateTime instances.
NotEquals Compare two NullableDateTime instances for inequality.
Parse Parses a string expression of an instant in time.

Public Static Operators

Addition Operator Adds a specified time interval to a specified date and time, yielding a new date and time.
Equality Operator Compare two NullableDateTime instances for equality.
Explicit NullableDateTime to DateTime Conversion Converts a NullableDateTime instance to a System.DateTime instance.
Explicit NullableString to NullableDateTime Conversion Converts a NullableString instance to a NullableDateTime instance.
Greater Than Operator Compare two NullableDateTime instances.
Greater Than Or Equal Operator Compare two NullableDateTime instances.
Implicit DateTime to NullableDateTime Conversion Converts a System.DateTime instance to a NullableDateTime instance.
Inequality Operator Compare two NullableDateTime instances for inequality.
Less Than Operator Compare two NullableDateTime instances.
Less Than Or Equal Operator Compare two NullableDateTime instances.
Subtraction Operator Subtracts a specified time interval to a specified date and time, yielding a new date and time.

Public Instance Constructors

NullableDateTimeOverloaded. Initializes a new instance of the NullableDateTime class.

Public Instance Properties

HasValue Indicates whether or not the value of the NullableDateTime structure is null.
IsNull Gets the Null status of this instance. True if the instance is Null, false otherwise.
Ticks Gets the number of ticks. Uses same tick mechanism as DateTime.
Value Gets the System.DateTime value represented by the instance.

Public Instance Methods

Add Adds a specified time interval to this structure.
CompareTo Compares this instance to a specified object and returns an indication of their relative values.
Equals Compares this instance to a specified object and returns an boolean indicating their equality. Overridden.
GetHashCode Return hashcode. Value equal to NullableDateTime.Value's hashcode.
GetType (inherited from Object)
GetTypeCode Returns the TypeCode for value type NullableDateTime.
Subtract Subtracts a specified time interval to this structure.
ToNullableString Converts to a NullableString representing the time instance.
ToString Converts the NullableDateTime value to a string.

Protected Instance Methods

Finalize (inherited from Object)
MemberwiseClone (inherited from Object)

Explicit Interface Implementations

IXmlSerializable.GetSchema
IXmlSerializable.ReadXml
IXmlSerializable.WriteXml

See Also

NullableDateTime Class | TechTalk.Genome.NullableTypes Namespace