__Date 结构 |
命名空间: XSharp
[SerializableAttribute] [StructLayoutAttribute(LayoutKind.Explicit, Size = 4, CharSet := CharSet.Ansi)] STRUCTURE __Date IMPLEMENTS IComparable, IFormattable, IConvertible, IDate, IComparable<DATE>, IEquatable<DATE>, ISerializable
__Date 类型公开以下成员。
名称 | 说明 | |
---|---|---|
__Date(DateTime) | 初始化 __Date 类的一个新实例 | |
__Date(Int64) | 初始化 __Date 类的一个新实例 | |
__Date(String) | 初始化 __Date 类的一个新实例 | |
__Date(IDate) | 初始化 __Date 类的一个新实例 | |
__Date(SerializationInfo, StreamingContext) | 从序列化数据构造一个值 | |
__Date(String, String) | 初始化 __Date 类的一个新实例 | |
__Date(Int32, Int32, Int32) | 初始化 __Date 类的一个新实例 | |
__Date(UInt32, UInt32, UInt32) | 初始化 __Date 类的一个新实例 |
名称 | 说明 | |
---|---|---|
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 |
名称 | 说明 | |
---|---|---|
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. (重写 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. (重写 GetHashCode.) | |
GetObjectData | Populates a SerializationInfo with the data needed to serialize the target object. | |
GetTypeCode | Returns the TypeCode for this instance. | |
Subtract(Double) | ||
Subtract(Int32) | ||
Subtract(Int64) | ||
Subtract(TimeSpan) | ||
Subtract(UInt32) | ||
Subtract(UInt64) | ||
Subtract(__Date) | ||
Subtract(__Usual) | ||
ToString | Returns the fully qualified type name of this instance. (重写 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. |
名称 | 说明 | |
---|---|---|
Addition(__Date, Double) | ||
Addition(__Date, Int32) | ||
Addition(__Date, Int64) | 这个运算符在编译器生成的代码中使用,当需要时。 | |
Addition(__Date, TimeSpan) | 这个运算符在编译器生成的代码中使用,当需要时。 | |
Addition(__Date, UInt32) | ||
Addition(__Date, UInt64) | ||
Addition(__Date, __Usual) | ||
Decrement | ||
Equality | 这个运算符在编译器生成的代码中使用,当需要时。 | |
(Int32 to __Date) | 这个转换器在需要时由编译器生成的代码中使用。 | |
(UInt32 to __Date) | 这个转换器在需要时由编译器生成的代码中使用。 | |
(__Date to UInt32) | 这个转换器在需要时由编译器生成的代码中使用。 | |
(__Date to Int32) | 这个转换器在需要时由编译器生成的代码中使用。 | |
GreaterThan | 这个运算符在编译器生成的代码中使用,当需要时。 | |
GreaterThanOrEqual | 这个运算符在编译器生成的代码中使用,当需要时。 | |
(DateTime to __Date) | 这个运算符在编译器生成的代码中使用,当需要时。 | |
(__Date to DateTime) | 这个运算符在编译器生成的代码中使用,当需要时。 | |
Increment | ||
Inequality | 这个运算符在编译器生成的代码中使用,当需要时。 | |
LessThan | 这个运算符在编译器生成的代码中使用,当需要时。 | |
LessThanOrEqual | 这个运算符在编译器生成的代码中使用,当需要时。 | |
Subtraction(__Date, Double) | ||
Subtraction(__Date, Int32) | ||
Subtraction(__Date, Int64) | ||
Subtraction(__Date, TimeSpan) | ||
Subtraction(__Date, UInt32) | ||
Subtraction(__Date, UInt64) | ||
Subtraction(__Date, __Date) | ||
Subtraction(__Date, __Usual) |
名称 | 说明 | |
---|---|---|
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. |