Date Structure |
Namespace: XSharp
[SerializableAttribute] [StructLayoutAttribute(LayoutKind.Explicit, Size = 4, CharSet := CharSet.Ansi)] STRUCTURE Date IMPLEMENTS IComparable, IFormattable, IConvertible, IDate, IComparable<DATE>, IEquatable<DATE>, ISerializable
The Date type exposes the following members.
Name | Description | |
---|---|---|
Date(DateTime) | Initializes a new instance of the Date class | |
Date(Int64) | Initializes a new instance of the Date class | |
Date(String) | Initializes a new instance of the Date class | |
Date(IDate) | Initializes a new instance of the Date class | |
Date(SerializationInfo, StreamingContext) | Construct a value from serialized data | |
Date(String, String) | Initializes a new instance of the Date class | |
Date(Long, Long, Long) | Initializes a new instance of the Date class | |
Date(DWord, DWord, DWord) | Initializes a new instance of the Date class |
Name | Description | |
---|---|---|
Day | Day part of the date. A number between 0 an 31 | |
IsEmpty | ||
Month | Month part of the date. A number between 0 an 12 | |
Value | ||
Year | Year part of the date. A number between 0 and 9999 |
Name | Description | |
---|---|---|
CompareTo(Object) | Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. | |
CompareTo(Date) | Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. | |
Equals(Object) | Indicates whether this instance and a specified object are equal. (Overrides Equals(Object).) | |
Equals(Date) | Indicates whether the current object is equal to another object of the same type. | |
GetHashCode | Returns the hash code for this instance. (Overrides GetHashCode.) | |
GetObjectData | Populates a SerializationInfo with the data needed to serialize the target object. | |
GetTypeCode | Returns the TypeCode for this instance. | |
Subtract(Double) | ||
Subtract(Long) | ||
Subtract(Int64) | ||
Subtract(TimeSpan) | ||
Subtract(DWord) | ||
Subtract(UInt64) | ||
Subtract(Date) | ||
Subtract(Usual) | ||
ToString | Returns the fully qualified type name of this instance. (Overrides ToString.) | |
ToString(IFormatProvider) | Converts the value of this instance to an equivalent String using the specified culture-specific formatting information. | |
ToString(String) | Converts the value of the current DateTime object to its equivalent string representation using the specified format and the formatting conventions of the current culture. | |
ToString(String, IFormatProvider) | Formats the value of the current instance using the specified format. |
Name | Description | |
---|---|---|
Addition(Date, Double) | ||
Addition(Date, Long) | ||
Addition(Date, Int64) | This operator is used in code generated by the compiler when needed. | |
Addition(Date, TimeSpan) | This operator is used in code generated by the compiler when needed. | |
Addition(Date, DWord) | ||
Addition(Date, UInt64) | ||
Addition(Date, Usual) | ||
Decrement | ||
Equality | This operator is used in code generated by the compiler when needed. | |
(Long to Date) | This converter is used in code generated by the compiler when needed. | |
(DWord to Date) | This converter is used in code generated by the compiler when needed. | |
(Date to DWord) | This converter is used in code generated by the compiler when needed. | |
(Date to Long) | This converter is used in code generated by the compiler when needed. | |
GreaterThan | This operator is used in code generated by the compiler when needed. | |
GreaterThanOrEqual | This operator is used in code generated by the compiler when needed. | |
(DateTime to Date) | This operator is used in code generated by the compiler when needed. | |
(Date to DateTime) | This operator is used in code generated by the compiler when needed. | |
Increment | ||
Inequality | This operator is used in code generated by the compiler when needed. | |
LessThan | This operator is used in code generated by the compiler when needed. | |
LessThanOrEqual | This operator is used in code generated by the compiler when needed. | |
Subtraction(Date, Double) | ||
Subtraction(Date, Long) | ||
Subtraction(Date, Int64) | ||
Subtraction(Date, TimeSpan) | ||
Subtraction(Date, DWord) | ||
Subtraction(Date, UInt64) | ||
Subtraction(Date, Date) | ||
Subtraction(Date, Usual) |
Name | Description | |
---|---|---|
_dtCalc | ||
_NULL_DATE | ||
CLIPPER_MAX_DATE | ||
CLIPPER_MIN_DATE |
Name | Description | |
---|---|---|
IConvertibleToBoolean | Converts the value of this instance to an equivalent Boolean value using the specified culture-specific formatting information. | |
IConvertibleToByte | Converts the value of this instance to an equivalent 8-bit unsigned integer using the specified culture-specific formatting information. | |
IConvertibleToChar | Converts the value of this instance to an equivalent Unicode character using the specified culture-specific formatting information. | |
IConvertibleToDateTime | Converts the value of this instance to an equivalent DateTime using the specified culture-specific formatting information. | |
IConvertibleToDecimal | Converts the value of this instance to an equivalent Decimal number using the specified culture-specific formatting information. | |
IConvertibleToDouble | Converts the value of this instance to an equivalent double-precision floating-point number using the specified culture-specific formatting information. | |
IConvertibleToInt16 | Converts the value of this instance to an equivalent 16-bit signed integer using the specified culture-specific formatting information. | |
IConvertibleToInt32 | Converts the value of this instance to an equivalent 32-bit signed integer using the specified culture-specific formatting information. | |
IConvertibleToInt64 | Converts the value of this instance to an equivalent 64-bit signed integer using the specified culture-specific formatting information. | |
IConvertibleToSByte | Converts the value of this instance to an equivalent 8-bit signed integer using the specified culture-specific formatting information. | |
IConvertibleToSingle | Converts the value of this instance to an equivalent single-precision floating-point number using the specified culture-specific formatting information. | |
IConvertibleToType | Converts the value of this instance to an Object of the specified Type that has an equivalent value, using the specified culture-specific formatting information. | |
IConvertibleToUInt16 | Converts the value of this instance to an equivalent 16-bit unsigned integer using the specified culture-specific formatting information. | |
IConvertibleToUInt32 | Converts the value of this instance to an equivalent 32-bit unsigned integer using the specified culture-specific formatting information. | |
IConvertibleToUInt64 | Converts the value of this instance to an equivalent 64-bit unsigned integer using the specified culture-specific formatting information. |