#include "Stroika/Foundation/StroikaPreComp.h"
#include <chrono>
#include <climits>
#include <compare>
#include <string>
#include "Stroika/Foundation/Characters/String.h"
#include "Stroika/Foundation/Common/Common.h"
#include "Stroika/Foundation/Common/Enumeration.h"
#include "Stroika/Foundation/DataExchange/ValidationStrategy.h"
#include "Stroika/Foundation/Execution/Exceptions.h"
#include "Stroika/Foundation/Time/Common.h"
#include "Stroika/Foundation/Traversal/Range.h"
#include "Date.inl"
Go to the source code of this file.
Classes | |
struct | Stroika::Foundation::Time::DayOfWeek |
Simple wrapper on std::chrono::weekday, with some helpful validation properties (assures constructed 'ok'). But not necessary to use - use just 'weekday' in most places. More... | |
struct | Stroika::Foundation::Time::MonthOfYear |
Simple wrapper on std::chrono::month, with some helpful validation properties (assures constructed 'ok'). But not necessary to use - use just 'month' in most places. More... | |
struct | Stroika::Foundation::Time::DayOfMonth |
Simple wrapper on std::chrono::day, with some helpful validation properties (assures constructed 'ok'). But not necessary to use - use just 'day' in most places. More... | |
struct | Stroika::Foundation::Time::Year |
Simple wrapper on std::chrono::year, with some helpful validation properties (assures constructed 'ok'). But not necessary to use - use just 'year' in most places. More... | |
struct | Stroika::Foundation::Time::StdCPctxTraits |
this defines undefined but important properties of the x (read/write date) format string in stdc++ time_get/time_put More... | |
class | Stroika::Foundation::Time::Date |
struct | Stroika::Foundation::Time::Date::ReferencePoint |
Namespaces | |
namespace | Stroika::Foundation |
namespace | Stroika::Foundation::Traversal::RangeTraits |
TODO:
Consider representing as big struct o Like with STRUCT DATETIME or struct tm o Int year o Int month o And maybe store cached string reps for common cases as optimization and store cached second-offset (mutable) for quick compares o Note in docs for future versions the min/max date COULD be expanded
Definition in file Date.h.