TimeZoneOffset Structure

Encapsulates display information for a time zone at a particular point in time.

Definition

Namespace: InnerDrive.TimeZones
Assembly: InnerDrive.TimeZones (in InnerDrive.TimeZones.dll) Version: 5.2.9017.0
C#
public readonly struct TimeZoneOffset : IFormattable, 
	IEquatable<TimeZoneOffset>
Inheritance
Object    ValueType    TimeZoneOffset
Implements
IEquatableTimeZoneOffset, IFormattable

Constructors

TimeZoneOffset Creates a new instance of TimeZoneOffset

Properties

Abbreviation Gets the current time zone abbreviation, like "EST" or "CDT."
LocalTime Gets the current date and time for this information.
UtcOffset Gets the local offset from Universal Time.
ZoneName Gets the long-form name of the zone.

Methods

Equals(Object) Indicates whether this instance and a specified object are equal.
(Overrides ValueTypeEquals(Object))
Equals(TimeZoneOffset) Indicates whether the current object is equal to another object of the same type.
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCode Returns the hash code for this instance.
(Overrides ValueTypeGetHashCode)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToString Returns a String representation of this TimeZoneOffset.
(Overrides ValueTypeToString)
ToString(String, IFormatProvider) Formats the value of the current instance using the specified format.

Operators

Equality(TimeZoneOffset, TimeZoneOffset) Determines whether two objects are equal.
Inequality(TimeZoneOffset, TimeZoneOffset) Determines whether two objects are not equal.

See Also