Date Structure |
Namespace: XSharp
STRUCTURE Date IMPLEMENTS IComparable, IFormattable, IConvertible, IDate, IComparable<DATE>, IEquatable<DATE>
The Date type exposes the following members.
Name | Description | |
---|---|---|
![]() | Date(DateTime) | Construct a date from a DateTime value. |
![]() | Date(Int64) | Construct a date from a number of Ticks. |
![]() | Date(String) | Construct a date from a string. This assumes the string is in current Date format |
![]() | Date(IDate) | Construct a date from another IDate type. |
![]() | Date(String, String) | Construct a date from a string using the specified Date Format. |
![]() | Date(Int32, Int32, Int32) | Construct a date from year, month, day |
![]() | Date(UInt32, UInt32, UInt32) | Construct a date from year, month, day |
Name | Description | |
---|---|---|
![]() | Day | Day part of the date. A number between 0 an 31 |
![]() | IsEmpty | Is the date empty (NULL_DATE) |
![]() | Month | Month part of the date. A number between 0 an 12 |
![]() | Value | Return DATE value as DateTime. |
![]() | 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.) |
![]() | GetTypeCode | Returns the TypeCode for this instance. |
![]() | 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) | This operator is used in code generated by the compiler when needed. |
![]() ![]() | Addition(Date, Int32) | This operator is used in code generated by the compiler when needed. |
![]() ![]() | 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, UInt32) | This operator is used in code generated by the compiler when needed. |
![]() ![]() | Addition(Date, UInt64) | This operator is used in code generated by the compiler when needed. |
![]() ![]() | Addition(Date, Usual) | This operator is used in code generated by the compiler when needed. |
![]() ![]() | Decrement | This operator is used in code generated by the compiler when needed. |
![]() ![]() | Equality | This operator is used in code generated by the compiler when needed. |
![]() ![]() | (Int32 to Date) | This converter is used in code generated by the compiler when needed. |
![]() ![]() | (UInt32 to Date) | This converter is used in code generated by the compiler when needed. |
![]() ![]() | (Date to UInt32) | This converter is used in code generated by the compiler when needed. |
![]() ![]() | (Date to Int32) | 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 | This operator is used in code generated by the compiler when needed. |
![]() ![]() | 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) | This operator is used in code generated by the compiler when needed. |
![]() ![]() | Subtraction(Date, Int32) | This operator is used in code generated by the compiler when needed. |
![]() ![]() | Subtraction(Date, Int64) | This operator is used in code generated by the compiler when needed. |
![]() ![]() | Subtraction(Date, TimeSpan) | This operator is used in code generated by the compiler when needed. |
![]() ![]() | Subtraction(Date, UInt32) | This operator is used in code generated by the compiler when needed. |
![]() ![]() | Subtraction(Date, UInt64) | This operator is used in code generated by the compiler when needed. |
![]() ![]() | Subtraction(Date, Date) | This operator is used in code generated by the compiler when needed. |
![]() ![]() | Subtraction(Date, Usual) | This operator is used in code generated by the compiler when needed. |
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 | |
![]() ![]() | 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. |