SystemTime Structure |
Namespace: NetQuarry
The SystemTime type exposes the following members.
Name | Description | |
---|---|---|
Now |
Get the current time in local format
| |
UtcNow |
Get the current time in Utc Format
|
Name | Description | |
---|---|---|
Equals |
Determine equality for SystemTime objects.
(Overrides ValueTypeEquals(Object).) | |
FromDateTime |
Converts a System.DateTime structure to a SystemTime structure
| |
GetHashCode |
The hash code for this date/time.
(Overrides ValueTypeGetHashCode.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToDateTime |
Converts the SystemTime structure to a System.DateTime structure.
| |
ToDateTime(SystemTime) |
Converts a SystemTime structure to a System.DateTime structure
| |
ToString | Returns the fully qualified type name of this instance. (Inherited from ValueType.) |
Name | Description | |
---|---|---|
Equality |
Equality operator for two SystemTime objects.
| |
Inequality |
Inequality operator for two SystemTime objects.
|
Name | Description | |
---|---|---|
Day | The day of the month, 1 through 31. | |
DayOfWeek | The day of the week, 0 = Sunday through 6 = Saturday. | |
Hour | The hour, 0 through 23. | |
Millisecond | The milli-second, 0 through 999. | |
Minute | The minute, 0 through 59. | |
Month | The month number, 1 through 12. | |
Second | The minute, 0 through 59. | |
Year | The year (1601 - 30827). |
Name | Description | |
---|---|---|
EqualValue |
Determines if the object value is equal to another object. If the two objects are null, then this returns true.
There is special handling for guid comparisons (since a guid could be a string formatted in up to 3 different ways).
If the special guid handling is not performed, then the object.Equals method is used.
(Defined by EAPUtil.) |