IsDaylightSavingTime()
TimeZoneInfo::IsDaylightSavingTime(DateTime) const method
Checks if specified date and time falls in range of daylight saving time.
bool System::TimeZoneInfo::IsDaylightSavingTime(DateTime date_time) const
Arguments
Parameter | Type | Description |
---|---|---|
date_time | DateTime | Date and Time. |
Return Value
True if date_time is a daylight saving time.
TimeZoneInfo::IsDaylightSavingTime(const DateTimeOffset&) const method
Checks if specified date and time falls in range of daylight saving time.
bool System::TimeZoneInfo::IsDaylightSavingTime(const DateTimeOffset &date_time_offset) const
Arguments
Parameter | Type | Description |
---|---|---|
date_time_offset | const DateTimeOffset& | Date and Time. |
Return Value
True if date_time is a daylight saving time.
See Also
- Class DateTime
- Class TimeZoneInfo
- Class DateTimeOffset
- Namespace System
- Library Aspose.Slides