Stroika Library 3.0d16
 
Loading...
Searching...
No Matches
Timezone.h File Reference
#include "Stroika/Foundation/StroikaPreComp.h"
#include <compare>
#include <ctime>
#include <optional>
#include "Stroika/Foundation/Characters/String.h"
#include "Stroika/Foundation/DataExchange/ValidationStrategy.h"
#include "Stroika/Foundation/Traversal/Range.h"
#include "Timezone.inl"

Go to the source code of this file.

Classes

struct  Stroika::Foundation::Time::TimeZoneInformationType
 
class  Stroika::Foundation::Time::Timezone
 

Namespaces

namespace  Stroika::Foundation
 

Functions

TimeZoneInformationType Stroika::Foundation::Time::GetCurrentLocaleTimezoneInfo ()
 return a summary of information about the currently configured default timezone on this system.
 

Detailed Description

Note
Code-Status: Beta

TODO:

Could use boost or http://www.iana.org/time-zones/repository/releases/tzdata2015b.tar.gz or other.

But good news - I think I have API right now. Just construct a Timezone object with enum or data read from file and can be used as is throughout rest of DateTime code (well, TimeZoneInformationType probably needs changes).

REVIEW C++20 support here - I think they added support for named timezone map to offsets.

Definition in file Timezone.h.