IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

Detailed Description

Qt Core Reference Documentation.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

  • Header: OffsetData

  • CMake:

    find_package(Qt6 REQUIRED COMPONENTS Core)

    target_link_libraries(mytarget PRIVATE Qt6::Core)

  • qmake: QT += core

Detailed Description

The time zone offset data for a given moment in time, i.e. the time zone offsets and abbreviation to use at that moment in time.

  • OffsetData::atUtc The datetime of the offset data in UTC time.

  • OffsetData::offsetFromUtc The total offset from UTC in effect at the datetime.

  • OffsetData::standardTimeOffset The standard time offset component of the total offset.

  • OffsetData::daylightTimeOffset The DST offset component of the total offset.

  • OffsetData::abbreviation The abbreviation in effect at the datetime.

For example, for time zone "Europe/Berlin" the OffsetDate in standard and DST might be:

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+