System::TimeZoneInfo::AdjustmentRule class

AdjustmentRule class

Provides information about a time zone adjustment. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.

class AdjustmentRule : public System::IEquatable<AdjustmentRulePtr>

Methods

MethodDescription
static CreateAdjustmentRule(DateTime, DateTime, TimeSpan, const TransitionTime&, const TransitionTime&)Constructs an instance of AdjustmentRule class that represents a time adjustment rule described with the specified parameters.
static CreateAdjustmentRule(DateTime, DateTime, TimeSpan, const TransitionTime&, const TransitionTime&, TimeSpan, bool)Constructs an instance of AdjustmentRule class that represents a time adjustment rule described with the specified parameters.
Equals(AdjustmentRulePtr) override
get_BaseUtcOffsetDelta() constReturns a delta from the default UTC offset.
get_DateEnd() constReturns a DateTime object that represents the date and time when the adjustment rule stops being effective.
get_DateStart() constReturns a DateTime object that represents the date and time when the adjustment rule comes into effect.
get_DaylightDelta() constReturns in TimeSpan object that represents the amount of time required to form the daylight saving time of the time zone.
get_DaylightTransitionEnd() constReturns the information about transition from standard time to daylight saving time.
get_DaylightTransitionStart() constReturns the information about transition from daylight saving time to standard time.
get_HasDaylightSaving() constFOR INTERNAL USE.
GetHashCode() const overrideAnalog of C# Object.GetHashCode() method. Enables hashing of custom objects.

See Also