TrinityCore
Trinity::Timezone Namespace Reference

Functions

Minutes GetOffsetByHash (uint32 hash)
 
Minutes GetSystemZoneOffsetAt (SystemTimePoint date)
 
Minutes GetSystemZoneOffset (bool applyDst)
 
std::string GetSystemZoneName ()
 
std::string_view FindClosestClientSupportedTimezone (std::string_view currentTimezone, Minutes currentTimezoneOffset)
 

Function Documentation

◆ FindClosestClientSupportedTimezone()

TC_COMMON_API std::string_view Trinity::Timezone::FindClosestClientSupportedTimezone ( std::string_view  currentTimezone,
Minutes  currentTimezoneOffset 
)

Definition at line 163 of file Timezone.cpp.

+ Here is the caller graph for this function:

◆ GetOffsetByHash()

TC_COMMON_API Minutes Trinity::Timezone::GetOffsetByHash ( uint32  hash)

Definition at line 124 of file Timezone.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetSystemZoneName()

TC_COMMON_API std::string Trinity::Timezone::GetSystemZoneName ( )

Definition at line 153 of file Timezone.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetSystemZoneOffset()

TC_COMMON_API Minutes Trinity::Timezone::GetSystemZoneOffset ( bool  applyDst)

Definition at line 144 of file Timezone.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetSystemZoneOffsetAt()

TC_COMMON_API Minutes Trinity::Timezone::GetSystemZoneOffsetAt ( SystemTimePoint  date)

Definition at line 132 of file Timezone.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function: