Click or drag to resize

SystemTime Structure

A structure (similiar to the DateTime structure) that is used for performing calculations of the differences it time between various time zones. This is the equivalent of the SYSTEMTIME structure in the Windows API.

Namespace:  NetQuarry
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
[SerializableAttribute]
public struct SystemTime

The SystemTime type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberNow
Get the current time in local format
Public propertyStatic memberUtcNow
Get the current time in Utc Format
Top
Methods
  NameDescription
Public methodEquals
Determine equality for SystemTime objects.
(Overrides ValueTypeEquals(Object).)
Public methodStatic memberFromDateTime
Converts a System.DateTime structure to a SystemTime structure
Public methodGetHashCode
The hash code for this date/time.
(Overrides ValueTypeGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToDateTime
Converts the SystemTime structure to a System.DateTime structure.
Public methodStatic memberToDateTime(SystemTime)
Converts a SystemTime structure to a System.DateTime structure
Public methodToString
Returns the fully qualified type name of this instance.
(Inherited from ValueType.)
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Equality operator for two SystemTime objects.
Public operatorStatic memberInequality
Inequality operator for two SystemTime objects.
Top
Fields
  NameDescription
Public fieldDay
The day of the month, 1 through 31.
Public fieldDayOfWeek
The day of the week, 0 = Sunday through 6 = Saturday.
Public fieldHour
The hour, 0 through 23.
Public fieldMillisecond
The milli-second, 0 through 999.
Public fieldMinute
The minute, 0 through 59.
Public fieldMonth
The month number, 1 through 12.
Public fieldSecond
The minute, 0 through 59.
Public fieldYear
The year (1601 - 30827).
Top
Extension Methods
  NameDescription
Public Extension MethodEqualValue
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.)
Top
See Also