이 페이지에서

QTimeZone::OffsetData Struct

struct QTimeZone::OffsetData

상세 설명

특정 시점의 시간대 오프셋 데이터입니다.

이는 특정 시점에 사용해야 할 시간대 오프셋과 약어를 제공합니다. 함수가 이 유형을 반환할 때, 해당 쿼리에 유효한 답변이 없음을 나타내기 위해 유효하지 않은 날짜/시간을 사용할 수 있으므로, 결과를 사용하기 전에 ` atUtc.isValid() `를 확인하십시오.

  • OffsetData::atUtc UTC 시간 기준의 오프셋 데이터의 날짜 및 시간.
  • OffsetData::offsetFromUtc 해당 날짜 및 시각에 적용되는 UTC 기준 총 오프셋입니다.
  • OffsetData::standardTimeOffset 전체 오프셋 중 표준 시간 오프셋 구성 요소입니다.
  • OffsetData::daylightTimeOffset 전체 오프셋 중 일광 절약 시간(DST) 오프셋 성분입니다.
  • OffsetData::abbreviation 해당 날짜 및 시간에 적용되는 약어입니다.

예를 들어, "Europe/Berlin" 시간대의 표준 시간 및 일광 절약 시간(DST)에 대한 OffsetData는 다음과 같을 수 있습니다.

이 유형은 ' timezone ' 기능이 활성화된 경우에만 사용할 수 있습니다.

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.