System::TimeZoneInfo::GetUtcOffset メソッド
TimeZoneInfo::GetUtcOffset(const DateTimeOffset&) const method
指定された日時に対して、このタイムゾーンの時刻と UTC タイムゾーンの時刻との差を計算します。
TimeSpan System::TimeZoneInfo::GetUtcOffset(const DateTimeOffset &date_time_offset) const
| パラメーター | 型 | 説明 |
|---|---|---|
| date_time_offset | const DateTimeOffset& | 日時。 |
ReturnValue
タイムゾーン間の時間差。
参照
- Class TimeSpan
- Class DateTimeOffset
- Class TimeZoneInfo
- Namespace System
- Library Aspose.Page for C++
TimeZoneInfo::GetUtcOffset(DateTime) const method
指定された日時に対して、このタイムゾーンの時刻と UTC タイムゾーンの時刻との差を計算します。
TimeSpan System::TimeZoneInfo::GetUtcOffset(DateTime date_time) const
| パラメーター | 型 | 説明 |
|---|---|---|
| date_time | DateTime | 日時。 |
ReturnValue
タイムゾーン間の時間差。
参照
- Class TimeSpan
- Class DateTime
- Class TimeZoneInfo
- Namespace System
- Library Aspose.Page for C++