System::TimeZoneInfo::AdjustmentRule class
Contents
[
Hide
]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
Method | Description |
---|---|
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() const | Returns a delta from the default UTC offset. |
get_DateEnd() const | Returns a DateTime object that represents the date and time when the adjustment rule stops being effective. |
get_DateStart() const | Returns a DateTime object that represents the date and time when the adjustment rule comes into effect. |
get_DaylightDelta() const | Returns in TimeSpan object that represents the amount of time required to form the daylight saving time of the time zone. |
get_DaylightTransitionEnd() const | Returns the information about transition from standard time to daylight saving time. |
get_DaylightTransitionStart() const | Returns the information about transition from daylight saving time to standard time. |
get_HasDaylightSaving() const | FOR INTERNAL USE. |
GetHashCode() const override | Analog of C# Object.GetHashCode() method. Enables hashing of custom objects. |
See Also
- Class IEquatable
- Class TimeZoneInfo
- Namespace System
- Library Aspose.PUB for C++