mirror of
https://github.com/CraftyBoss/SuperMarioOdysseyOnline.git
synced 2024-11-25 04:35:17 +00:00
23 lines
572 B
C
23 lines
572 B
C
|
#pragma once
|
||
|
|
||
|
#include <basis/seadTypes.h>
|
||
|
#include <prim/seadSafeString.h>
|
||
|
#include <time/seadCalendarTime.h>
|
||
|
|
||
|
namespace sead
|
||
|
{
|
||
|
class CalendarSpan;
|
||
|
|
||
|
namespace DateUtil
|
||
|
{
|
||
|
bool isLeapYear(u32 year);
|
||
|
|
||
|
CalendarTime::Week calcWeekDay(const CalendarTime::Year& year, const CalendarTime::Month& month,
|
||
|
const CalendarTime::Day& day);
|
||
|
|
||
|
void calcSecondToCalendarSpan(CalendarSpan* out_span, u64 seconds);
|
||
|
|
||
|
bool parseW3CDTFString(CalendarTime* out_time, CalendarSpan* out_span, const SafeString& string);
|
||
|
} // namespace DateUtil
|
||
|
} // namespace sead
|