NullableTypes Class Library

NullableDateTime Members

NullableDateTime overview

Public Static (Shared) 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 (Shared) Methods

EqualsOverloaded. 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 (Shared) 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 NullableTypes.NullableDateTime to System.DateTime ConversionOverloaded. Converts a NullableDateTime instance to a System.DateTime instance.
Explicit NullableTypes.NullableString to NullableTypes.NullableDateTime ConversionOverloaded. 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 System.DateTime to NullableTypes.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

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.
EqualsOverloaded. 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)Gets the Type of the current instance.
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)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

Explicit Interface Implementations

IXmlSerializable.GetSchema This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
IXmlSerializable.ReadXml This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
IXmlSerializable.WriteXml This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

See Also

NullableDateTime Class | NullableTypes Namespace