MT Core (C++)
Core library for replacing C++ standard in project usage
Loading...
Searching...
No Matches
mtcore::calendars::CalDateTimeZoned< Calendar > Struct Template Reference

Wrapper for a date with a time component and timezone. More...

#include <core.hpp>

Inheritance diagram for mtcore::calendars::CalDateTimeZoned< Calendar >:
Collaboration diagram for mtcore::calendars::CalDateTimeZoned< Calendar >:

Public Types

using CalendarSystem = Calendar
 

Public Member Functions

constexpr bool is_valid () const
 Checks that a date is valid.
 
constexpr CalDateTimeZoned nearest_valid () const
 Moves the date to the nearest valid date.
 
constexpr operator CalDate< Calendar > () const noexcept
 
constexpr operator CalDateTime< Calendar > () const noexcept
 
constexpr Segments time_segments () const noexcept
 
template<typename Other>
constexpr operator CalDateTimeZoned< Other > () const noexcept
 
constexpr CalDateTimeZoned to_utc () const noexcept
 Convert to UTC timezone.
 
constexpr CalDateTimeZoned to_timezone (const TimeZone &tz) const noexcept
 Convert to a specific timezone.
 
template<typename Other>
constexpr std::partial_ordering operator<=> (const CalDateTimeZoned< Other > &o) const
 
template<typename Other>
constexpr auto operator== (const CalDateTimeZoned< Other > &o) const -> bool
 
template<typename Other>
constexpr auto operator!= (const CalDateTimeZoned< Other > &o) const -> bool
 
template<typename Other>
constexpr auto operator<= (const CalDateTimeZoned< Other > &o) const -> bool
 
template<typename Other>
constexpr auto operator>= (const CalDateTimeZoned< Other > &o) const -> bool
 
template<typename Other>
constexpr auto operator< (const CalDateTimeZoned< Other > &o) const -> bool
 
template<typename Other>
constexpr auto operator> (const CalDateTimeZoned< Other > &o) const -> bool
 
constexpr DayOfWeek day_of_week () const
 Gets the day of week for a date.
 
constexpr CalDateTimeZoned add_days (const i32 days) const
 Adds n days to a date.
 
constexpr CalDateTimeZoned sub_days (const i32 days) const
 Subtracts n days from a date.
 
template<typename Other>
constexpr i32 day_difference (const CalDateTimeZoned< Other > &other) const
 Difference between two dates in days.
 
constexpr CalDateTimeZoned nth_week_day (const i32 n, const DayOfWeek k) const
 Gets the nth day of week.
 
constexpr CalDateTimeZoned day_of_week_before (const DayOfWeek k) const
 Gets the day of week before current date.
 
constexpr CalDateTimeZoned day_of_week_after (const DayOfWeek k) const
 Gets the day of week after the current date.
 
constexpr CalDateTimeZoned day_of_week_nearest (const DayOfWeek k) const
 Gets the day of week nearest to the current date.
 
constexpr CalDateTimeZoned day_of_week_on_or_before (const DayOfWeek k) const
 Gets the day of week on or before the current date.
 
constexpr CalDateTimeZoned day_of_week_on_or_after (const DayOfWeek k) const
 Gets the day of week on or after the current date.
 
constexpr CalDateTimeZoned first_week_day (const DayOfWeek k) const
 Gets the first week day in a month (assuming current date is the start of the month)
 
constexpr CalDateTimeZoned last_week_day (const DayOfWeek k) const
 Gets the last week day in a month (assuming current date is the end of the month)
 
template<typename Other>
auto positions_in_range (Allocator &alloc, const CalDateTime< Other > &end, i32 pthMoment, i32 cDayCycle, i32 delta) const -> Result< ArrayList< CalDateTimeZoned >, AllocationError >
 Return the cyclic positions in the range of the current date to the end date (exclusive) Used to collect all occurrences of events (e.g.
 
i32 day_of_m_cycle (i32 m, i32 offset) const
 Gets which day the current date occurs in an m-length ("month") cycle.
 
auto kth_day_of_m_cycle_on_or_before (i32 k, i32 m, i32 offset) const noexcept -> CalDateTimeZoned
 Finds the kth day of the m-cycle that occurs on or before the current date.
 
auto kth_day_of_m_cycle_before (i32 k, i32 m, i32 offset) const noexcept -> CalDateTimeZoned
 Finds the kth day of the m-cycle that occurs before the current date.
 
auto kth_day_of_m_cycle_on_or_after (i32 k, i32 m, i32 offset) const noexcept -> CalDateTimeZoned
 Finds the kth day of the m-cycle that occurs on or after the current date.
 
auto kth_day_of_m_cycle_after (i32 k, i32 m, i32 offset) const noexcept -> CalDateTimeZoned
 Finds the kth day of the m-cycle that occurs after the current date.
 
auto kth_day_of_m_cycle_nearest (i32 k, i32 m, i32 offset) const noexcept -> CalDateTimeZoned
 Finds the kth day of the m-cycle that occurs nearest the current date.
 

Public Attributes

CalDateTime< Calendar > dateTime
 
TimeZone zone = zone::utc()
 

Detailed Description

template<typename Calendar>
struct mtcore::calendars::CalDateTimeZoned< Calendar >

Wrapper for a date with a time component and timezone.

Template Parameters
CalendarCalendar system used for date. If no time is built in, will use Segments.

Definition at line 912 of file calendars/mtcore_calendars/core.hpp.

Member Typedef Documentation

◆ CalendarSystem

template<typename Calendar>
using mtcore::calendars::CalDateTimeZoned< Calendar >::CalendarSystem = Calendar

Definition at line 914 of file calendars/mtcore_calendars/core.hpp.

Member Function Documentation

◆ add_days()

template<typename Calendar>
CalDateTimeZoned mtcore::calendars::CalDateTimeZoned< Calendar >::add_days ( const i32 days) const
inlinenodiscardconstexpr

Adds n days to a date.

Definition at line 1042 of file calendars/mtcore_calendars/core.hpp.

◆ day_difference()

template<typename Calendar>
template<typename Other>
i32 mtcore::calendars::CalDateTimeZoned< Calendar >::day_difference ( const CalDateTimeZoned< Other > & other) const
inlinenodiscardconstexpr

Difference between two dates in days.

Definition at line 1049 of file calendars/mtcore_calendars/core.hpp.

1049 {
1050 return dateTime.day_difference(other.dateTime);
1051 }

◆ day_of_m_cycle()

template<typename Calendar>
i32 mtcore::calendars::CalDateTimeZoned< Calendar >::day_of_m_cycle ( i32 m,
i32 offset ) const
inlinenodiscard

Gets which day the current date occurs in an m-length ("month") cycle.

Parameters
mLength of cycle
offsetOffset for start of cycle

Definition at line 1138 of file calendars/mtcore_calendars/core.hpp.

1138{ return dateTime.day_of_m_cycle(m, offset); }

◆ day_of_week()

template<typename Calendar>
DayOfWeek mtcore::calendars::CalDateTimeZoned< Calendar >::day_of_week ( ) const
inlinenodiscardconstexpr

Gets the day of week for a date.

Definition at line 1039 of file calendars/mtcore_calendars/core.hpp.

1039{ return dateTime.day_of_week(); }

◆ day_of_week_after()

template<typename Calendar>
CalDateTimeZoned mtcore::calendars::CalDateTimeZoned< Calendar >::day_of_week_after ( const DayOfWeek k) const
inlinenodiscardconstexpr

Gets the day of week after the current date.

Definition at line 1064 of file calendars/mtcore_calendars/core.hpp.

1064 {
1065 return {dateTime.day_of_week_after(k), zone};
1066 }

◆ day_of_week_before()

template<typename Calendar>
CalDateTimeZoned mtcore::calendars::CalDateTimeZoned< Calendar >::day_of_week_before ( const DayOfWeek k) const
inlinenodiscardconstexpr

Gets the day of week before current date.

Definition at line 1059 of file calendars/mtcore_calendars/core.hpp.

1059 {
1060 return {dateTime.day_of_week_before(k), zone};
1061 }

◆ day_of_week_nearest()

template<typename Calendar>
CalDateTimeZoned mtcore::calendars::CalDateTimeZoned< Calendar >::day_of_week_nearest ( const DayOfWeek k) const
inlinenodiscardconstexpr

Gets the day of week nearest to the current date.

Definition at line 1069 of file calendars/mtcore_calendars/core.hpp.

1069 {
1070 return {dateTime.day_of_week_nearest(k), zone};
1071 }

◆ day_of_week_on_or_after()

template<typename Calendar>
CalDateTimeZoned mtcore::calendars::CalDateTimeZoned< Calendar >::day_of_week_on_or_after ( const DayOfWeek k) const
inlinenodiscardconstexpr

Gets the day of week on or after the current date.

Definition at line 1079 of file calendars/mtcore_calendars/core.hpp.

1079 {
1080 return {dateTime.day_of_week_on_or_after(k), zone};
1081 }

◆ day_of_week_on_or_before()

template<typename Calendar>
CalDateTimeZoned mtcore::calendars::CalDateTimeZoned< Calendar >::day_of_week_on_or_before ( const DayOfWeek k) const
inlinenodiscardconstexpr

Gets the day of week on or before the current date.

Definition at line 1074 of file calendars/mtcore_calendars/core.hpp.

1074 {
1075 return {dateTime.day_of_week_on_or_before(k), zone};
1076 }

◆ first_week_day()

template<typename Calendar>
CalDateTimeZoned mtcore::calendars::CalDateTimeZoned< Calendar >::first_week_day ( const DayOfWeek k) const
inlinenodiscardconstexpr

Gets the first week day in a month (assuming current date is the start of the month)

Definition at line 1084 of file calendars/mtcore_calendars/core.hpp.

1084 {
1085 return {dateTime.first_week_day(k), zone};
1086 }

◆ is_valid()

template<typename Calendar>
bool mtcore::calendars::CalDateTimeZoned< Calendar >::is_valid ( ) const
inlinenodiscardconstexpr

Checks that a date is valid.

Definition at line 919 of file calendars/mtcore_calendars/core.hpp.

919 {
920 return zone.try_validate().is_success() && *this == nearest_valid();
921 }
constexpr CalDateTimeZoned nearest_valid() const
Moves the date to the nearest valid date.

◆ kth_day_of_m_cycle_after()

template<typename Calendar>
auto mtcore::calendars::CalDateTimeZoned< Calendar >::kth_day_of_m_cycle_after ( i32 k,
i32 m,
i32 offset ) const -> CalDateTimeZoned
inlinenodiscardnoexcept

Finds the kth day of the m-cycle that occurs after the current date.

Parameters
kThe kth day of the m-cycle
mThe number of days in the m-cycle
offsetThe offset of the m-cycle
Returns
A date with the result

Definition at line 1180 of file calendars/mtcore_calendars/core.hpp.

1180 {
1181 return {dateTime.kth_day_of_m_cycle_after(k, m, offset), zone};
1182 }

◆ kth_day_of_m_cycle_before()

template<typename Calendar>
auto mtcore::calendars::CalDateTimeZoned< Calendar >::kth_day_of_m_cycle_before ( i32 k,
i32 m,
i32 offset ) const -> CalDateTimeZoned
inlinenodiscardnoexcept

Finds the kth day of the m-cycle that occurs before the current date.

Parameters
kThe kth day of the m-cycle
mThe number of days in the m-cycle
offsetThe offset of the m-cycle
Returns
A date with the result

Definition at line 1158 of file calendars/mtcore_calendars/core.hpp.

1158 {
1159 return {dateTime.kth_day_of_m_cycle_before(k, m, offset), zone};
1160 }

◆ kth_day_of_m_cycle_nearest()

template<typename Calendar>
auto mtcore::calendars::CalDateTimeZoned< Calendar >::kth_day_of_m_cycle_nearest ( i32 k,
i32 m,
i32 offset ) const -> CalDateTimeZoned
inlinenodiscardnoexcept

Finds the kth day of the m-cycle that occurs nearest the current date.

Parameters
kThe kth day of the m-cycle
mThe number of days in the m-cycle
offsetThe offset of the m-cycle
Returns
A date with the result

Definition at line 1191 of file calendars/mtcore_calendars/core.hpp.

1191 {
1192 return {dateTime.kth_day_of_m_cycle_nearest(k, m, offset), zone};
1193 }

◆ kth_day_of_m_cycle_on_or_after()

template<typename Calendar>
auto mtcore::calendars::CalDateTimeZoned< Calendar >::kth_day_of_m_cycle_on_or_after ( i32 k,
i32 m,
i32 offset ) const -> CalDateTimeZoned
inlinenodiscardnoexcept

Finds the kth day of the m-cycle that occurs on or after the current date.

Parameters
kThe kth day of the m-cycle
mThe number of days in the m-cycle
offsetThe offset of the m-cycle
Returns
A date with the result

Definition at line 1169 of file calendars/mtcore_calendars/core.hpp.

1169 {
1170 return {dateTime.kth_day_of_m_cycle_on_or_after(k, m, offset), zone};
1171 }

◆ kth_day_of_m_cycle_on_or_before()

template<typename Calendar>
auto mtcore::calendars::CalDateTimeZoned< Calendar >::kth_day_of_m_cycle_on_or_before ( i32 k,
i32 m,
i32 offset ) const -> CalDateTimeZoned
inlinenodiscardnoexcept

Finds the kth day of the m-cycle that occurs on or before the current date.

Parameters
kThe kth day of the m-cycle
mThe number of days in the m-cycle
offsetThe offset of the m-cycle
Returns
A date with the result

Definition at line 1147 of file calendars/mtcore_calendars/core.hpp.

1147 {
1148 return {dateTime.kth_day_of_m_cycle_on_or_before(k, m, offset), zone};
1149 }

◆ last_week_day()

template<typename Calendar>
CalDateTimeZoned mtcore::calendars::CalDateTimeZoned< Calendar >::last_week_day ( const DayOfWeek k) const
inlinenodiscardconstexpr

Gets the last week day in a month (assuming current date is the end of the month)

Definition at line 1089 of file calendars/mtcore_calendars/core.hpp.

1089 {
1090 return {dateTime.last_week_day(k), zone};
1091 }

◆ nearest_valid()

template<typename Calendar>
CalDateTimeZoned mtcore::calendars::CalDateTimeZoned< Calendar >::nearest_valid ( ) const
inlinenodiscardconstexpr

Moves the date to the nearest valid date.

Definition at line 924 of file calendars/mtcore_calendars/core.hpp.

924 {
925 auto nz = zone;
926 nz.offsetVal.hours = std::max<i8>(-23, std::min<i8>(23, zone.offsetVal.hours));
927 nz.offsetVal.minutes = std::max<i8>(-60, std::min<i8>(60, zone.offsetVal.minutes));
928 nz.offsetVal.seconds = std::max<i8>(-60, std::min<i8>(60, zone.offsetVal.seconds));
929 return CalDateTimeZoned{dateTime.nearest_valid(), nz};
930 }
Here is the caller graph for this function:

◆ nth_week_day()

template<typename Calendar>
CalDateTimeZoned mtcore::calendars::CalDateTimeZoned< Calendar >::nth_week_day ( const i32 n,
const DayOfWeek k ) const
inlinenodiscardconstexpr

Gets the nth day of week.

Definition at line 1054 of file calendars/mtcore_calendars/core.hpp.

1054 {
1055 return {dateTime.nth_week_day(n, k), zone};
1056 }

◆ operator CalDate< Calendar >()

template<typename Calendar>
mtcore::calendars::CalDateTimeZoned< Calendar >::operator CalDate< Calendar > ( ) const
inlinenodiscardconstexprnoexcept

Definition at line 932 of file calendars/mtcore_calendars/core.hpp.

932{ return CalDate<Calendar>{dateTime}; }

◆ operator CalDateTime< Calendar >()

template<typename Calendar>
mtcore::calendars::CalDateTimeZoned< Calendar >::operator CalDateTime< Calendar > ( ) const
inlinenodiscardconstexprnoexcept

Definition at line 933 of file calendars/mtcore_calendars/core.hpp.

933{ return dateTime; }

◆ operator CalDateTimeZoned< Other >()

template<typename Calendar>
template<typename Other>
mtcore::calendars::CalDateTimeZoned< Calendar >::operator CalDateTimeZoned< Other > ( ) const
inlinenodiscardconstexprnoexcept

Definition at line 937 of file calendars/mtcore_calendars/core.hpp.

937 {
938 return {static_cast<CalDateTime<Calendar>>(dateTime), zone};
939 }

◆ operator!=()

template<typename Calendar>
template<typename Other>
auto mtcore::calendars::CalDateTimeZoned< Calendar >::operator!= ( const CalDateTimeZoned< Other > & o) const -> bool
inlinenodiscardconstexpr

Definition at line 1013 of file calendars/mtcore_calendars/core.hpp.

1013 {
1014 auto cmp = *this <=> o;
1015 return cmp != decltype(cmp)::equivalent;
1016 }

◆ operator<()

template<typename Calendar>
template<typename Other>
auto mtcore::calendars::CalDateTimeZoned< Calendar >::operator< ( const CalDateTimeZoned< Other > & o) const -> bool
inlinenodiscardconstexpr

Definition at line 1028 of file calendars/mtcore_calendars/core.hpp.

1028 {
1029 auto cmp = *this <=> o;
1030 return cmp == decltype(cmp)::less;
1031 }

◆ operator<=()

template<typename Calendar>
template<typename Other>
auto mtcore::calendars::CalDateTimeZoned< Calendar >::operator<= ( const CalDateTimeZoned< Other > & o) const -> bool
inlinenodiscardconstexpr

Definition at line 1018 of file calendars/mtcore_calendars/core.hpp.

1018 {
1019 auto cmp = *this <=> o;
1020 return cmp == decltype(cmp)::equivalent || cmp == decltype(cmp)::less;
1021 }

◆ operator<=>()

template<typename Calendar>
template<typename Other>
std::partial_ordering mtcore::calendars::CalDateTimeZoned< Calendar >::operator<=> ( const CalDateTimeZoned< Other > & o) const
inlinenodiscardconstexpr

Definition at line 1001 of file calendars/mtcore_calendars/core.hpp.

1001 {
1002 const auto utc = to_utc();
1003 const auto outc = o.to_utc();
1004 return utc.dateTime <=> outc.dateTime;
1005 }
constexpr CalDateTimeZoned to_utc() const noexcept
Convert to UTC timezone.

◆ operator==()

template<typename Calendar>
template<typename Other>
auto mtcore::calendars::CalDateTimeZoned< Calendar >::operator== ( const CalDateTimeZoned< Other > & o) const -> bool
inlinenodiscardconstexpr

Definition at line 1008 of file calendars/mtcore_calendars/core.hpp.

1008 {
1009 auto cmp = *this <=> o;
1010 return cmp == decltype(cmp)::equivalent;
1011 }

◆ operator>()

template<typename Calendar>
template<typename Other>
auto mtcore::calendars::CalDateTimeZoned< Calendar >::operator> ( const CalDateTimeZoned< Other > & o) const -> bool
inlinenodiscardconstexpr

Definition at line 1033 of file calendars/mtcore_calendars/core.hpp.

1033 {
1034 auto cmp = *this <=> o;
1035 return cmp == decltype(cmp)::greater;
1036 }

◆ operator>=()

template<typename Calendar>
template<typename Other>
auto mtcore::calendars::CalDateTimeZoned< Calendar >::operator>= ( const CalDateTimeZoned< Other > & o) const -> bool
inlinenodiscardconstexpr

Definition at line 1023 of file calendars/mtcore_calendars/core.hpp.

1023 {
1024 auto cmp = *this <=> o;
1025 return cmp == decltype(cmp)::equivalent || cmp == decltype(cmp)::greater;
1026 }

◆ positions_in_range()

template<typename Calendar>
template<typename Other>
auto mtcore::calendars::CalDateTimeZoned< Calendar >::positions_in_range ( Allocator & alloc,
const CalDateTime< Other > & end,
i32 pthMoment,
i32 cDayCycle,
i32 delta ) const -> Result<ArrayList<CalDateTimeZoned>, AllocationError>
inlinenodiscard

Return the cyclic positions in the range of the current date to the end date (exclusive) Used to collect all occurrences of events (e.g.

holidays) in an interval of time (e.g. a Gregorian year)

Assumes $0 \le pthMoment \lt cDayCycle$

Parameters
allocAllocator to use
endEnd of the cyclic range
pthMomentStarting pth moment search. First result on or after a given moment of the pth moment (basically the cycle start)
cDayCycleThe number of days in the occurrence day cycle (basically the cycle length)
deltaCongruent modulo of cDayCycle to the position of RdDate{0} in the repeating cycle (basically the cycle modulo offset)
Returns

Definition at line 1109 of file calendars/mtcore_calendars/core.hpp.

1110 {
1111 Result<ArrayList<Fixed>, AllocationError> pos = dateTime.positions_in_range(
1112 alloc, static_cast<CalDateTime<Fixed>>(end).cal.to_fixed(), pthMoment, cDayCycle, delta);
1113 if (pos.is_error()) {
1114 return pos.error();
1115 }
1116
1117 auto dates = pos.value();
1118 mtdefer { dates.deinit(alloc); };
1120 if (const auto r = res.init(alloc, dates.size()); r.is_error()) {
1121 return r.error();
1122 }
1123
1124 auto iter = dates.iter();
1126 while (iter.next().copy_if_present(cur)) {
1127 ensure(res.push(CalDateTimeZoned{cur, zone}).is_success());
1128 }
1129
1130 return success(res);
1131 }
#define ensure(check,...)
Ensures that a check holds true, aborts the program if not true Will print error if the condition is ...
Success< void > success()
Creates a successful void Result object.
Definition result.hpp:398

◆ sub_days()

template<typename Calendar>
CalDateTimeZoned mtcore::calendars::CalDateTimeZoned< Calendar >::sub_days ( const i32 days) const
inlinenodiscardconstexpr

Subtracts n days from a date.

Definition at line 1045 of file calendars/mtcore_calendars/core.hpp.

1045{ return {dateTime.sub_days(days), zone}; }

◆ time_segments()

template<typename Calendar>
Segments mtcore::calendars::CalDateTimeZoned< Calendar >::time_segments ( ) const
inlinenodiscardconstexprnoexcept

Definition at line 934 of file calendars/mtcore_calendars/core.hpp.

934{ return dateTime.time_segments(); }
Here is the caller graph for this function:

◆ to_timezone()

template<typename Calendar>
CalDateTimeZoned mtcore::calendars::CalDateTimeZoned< Calendar >::to_timezone ( const TimeZone & tz) const
inlinenodiscardconstexprnoexcept

Convert to a specific timezone.

Definition at line 971 of file calendars/mtcore_calendars/core.hpp.

971 {
972 const auto utc = to_utc();
973 auto nano = static_cast<i64>(static_cast<NanoSeconds>(utc.time_segments()).nano) + tz.offset_in_nanoseconds();
974 auto c = dateTime;
975 if (nano < 0) {
976 c = dateTime.sub_days(1);
978 }
979 else if (nano >= NANOS_PER_DAY) {
980 c = dateTime.add_days(1);
982 }
983 ensure(nano >= 0);
985
986 if constexpr (IsDayCalendarSystem<Calendar>) {
987 const auto segZoned = static_cast<Segments>(NanoSeconds{static_cast<u64>(nano)});
988 return CalDateTimeZoned{
990 zone,
991 };
992 }
993 else {
994 const auto time = static_cast<DayFraction>(NanoSeconds{static_cast<u64>(nano)});
995 const auto moment = Moment::reconstruct(Moment::moment_to_fixed(c.to_moment()), time);
997 }
998 }
constexpr Segments time_segments() const noexcept
static constexpr Moment reconstruct(const Fixed &f, const Moment &m)
Reconstructs a moment from a fixed date and the time portion of a moment.
Definition fixed.hpp:286

◆ to_utc()

template<typename Calendar>
CalDateTimeZoned mtcore::calendars::CalDateTimeZoned< Calendar >::to_utc ( ) const
inlinenodiscardconstexprnoexcept

Convert to UTC timezone.

Definition at line 942 of file calendars/mtcore_calendars/core.hpp.

942 {
943 auto nano = static_cast<i64>(static_cast<NanoSeconds>(time_segments()).nano) - zone.offset_in_nanoseconds();
944 auto c = dateTime;
945 if (nano < 0) {
946 c = dateTime.sub_days(1);
948 }
949 else if (nano >= NANOS_PER_DAY) {
950 c = dateTime.add_days(1);
952 }
953 ensure(nano >= 0);
955
956 if constexpr (IsDayCalendarSystem<Calendar>) {
957 const auto segZoned = static_cast<Segments>(NanoSeconds{static_cast<u64>(nano)});
958 return CalDateTimeZoned{
960 zone,
961 };
962 }
963 else {
964 const auto time = static_cast<DayFraction>(NanoSeconds{static_cast<u64>(nano)});
967 }
968 }
Here is the caller graph for this function:

Member Data Documentation

◆ dateTime

template<typename Calendar>
CalDateTime<Calendar> mtcore::calendars::CalDateTimeZoned< Calendar >::dateTime

Definition at line 915 of file calendars/mtcore_calendars/core.hpp.

◆ zone

template<typename Calendar>
TimeZone mtcore::calendars::CalDateTimeZoned< Calendar >::zone = zone::utc()

Definition at line 916 of file calendars/mtcore_calendars/core.hpp.


The documentation for this struct was generated from the following file: