mirror of
https://github.com/pret/pmd-sky.git
synced 2026-08-06 03:03:38 -05:00
25 lines
576 B
C
25 lines
576 B
C
#ifndef NITRO_RTC_ARM9_CONVERT_H_
|
|
#define NITRO_RTC_ARM9_CONVERT_H_
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#include <nitro/types.h>
|
|
|
|
s32 Rtc_ConvertDateToDay(const RTCDate * date);
|
|
s32 Rtci_ConvertTimeToSecond(const RTCTime * time);
|
|
s64 Rtc_ConvertDateTimeToSecond(const RTCDate * date, const RTCTime * time);
|
|
|
|
void Rtc_ConvertDayToDate(RTCDate * date, s32 day);
|
|
void Rtci_ConvertSecondToTime(RTCTime * time, s32 sec);
|
|
void Rtc_ConvertSecondToDateTime(RTCDate * date, RTCTime * time, s64 sec);
|
|
|
|
RTCWeek Rtc_GetDayOfWeek(RTCDate * date);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|