|
Data Structures |
struct | pspTime |
Enumerations |
enum | pspRtcCheckValidErrors {
PSP_TIME_INVALID_YEAR = -1,
PSP_TIME_INVALID_MONTH = -2,
PSP_TIME_INVALID_DAY = -3,
PSP_TIME_INVALID_HOUR = -4,
PSP_TIME_INVALID_MINUTES = -5,
PSP_TIME_INVALID_SECONDS = -6,
PSP_TIME_INVALID_MICROSECONDS = -7
} |
Functions |
u32 | sceRtcGetTickResolution () |
| Get the resolution of the tick counter.
|
int | sceRtcGetCurrentTick (u64 *tick) |
| Get current tick count.
|
int | sceRtcGetCurrentClock (pspTime *time, int tz) |
| Get current tick count, adjusted for local time zone.
|
int | sceRtcGetCurrentClockLocalTime (pspTime *time) |
| Get current local time into a pspTime struct.
|
int | sceRtcConvertUtcToLocalTime (const u64 *tickUTC, u64 *tickLocal) |
| Convert a UTC-based tickcount into a local time tick count.
|
int | sceRtcConvertLocalTimeToUTC (const u64 *tickLocal, u64 *tickUTC) |
| Convert a local time based tickcount into a UTC-based tick count.
|
int | sceRtcIsLeapYear (int year) |
| Check if a year is a leap year.
|
int | sceRtcGetDaysInMonth (int year, int month) |
| Get number of days in a specific month.
|
int | sceRtcGetDayOfWeek (int year, int month, int day) |
| Get day of the week for a date.
|
int | sceRtcCheckValid (const pspTime *date) |
| Validate pspDate component ranges.
|
int | sceRtcSetTick (pspTime *date, const u64 *tick) |
| Set a pspTime struct based on ticks.
|
int | sceRtcGetTick (const pspTime *date, u64 *tick) |
| Set ticks based on a pspTime struct.
|
int | sceRtcCompareTick (const u64 *tick1, const u64 *tick2) |
| Compare two ticks.
|
int | sceRtcTickAddTicks (u64 *destTick, const u64 *srcTick, u64 numTicks) |
| Add two ticks.
|
int | sceRtcTickAddMicroseconds (u64 *destTick, const u64 *srcTick, u64 numMS) |
| Add an amount of ms to a tick.
|
int | sceRtcTickAddSeconds (u64 *destTick, const u64 *srcTick, u64 numSecs) |
| Add an amount of seconds to a tick.
|
int | sceRtcTickAddMinutes (u64 *destTick, const u64 *srcTick, u64 numMins) |
| Add an amount of minutes to a tick.
|
int | sceRtcTickAddHours (u64 *destTick, const u64 *srcTick, int numHours) |
| Add an amount of hours to a tick.
|
int | sceRtcTickAddDays (u64 *destTick, const u64 *srcTick, int numDays) |
| Add an amount of days to a tick.
|
int | sceRtcTickAddWeeks (u64 *destTick, const u64 *srcTick, int numWeeks) |
| Add an amount of weeks to a tick.
|
int | sceRtcTickAddMonths (u64 *destTick, const u64 *srcTick, int numMonths) |
| Add an amount of months to a tick.
|
int | sceRtcTickAddYears (u64 *destTick, const u64 *srcTick, int numYears) |
| Add an amount of years to a tick.
|
int | sceRtcSetTime_t (pspTime *date, const time_t time) |
int | sceRtcGetTime_t (const pspTime *date, time_t time) |
int | sceRtcSetDosTime (pspTime *date, u32 dosTime) |
int | sceRtcGetDosTime (pspTime *date, u32 dosTime) |
int | sceRtcSetWin32FileTime (pspTime *date, u64 *win32Time) |
int | sceRtcGetWin32FileTime (pspTime *date, u64 *win32Time) |
int | sceRtcParseDateTime (u64 *destTick, const char *dateString) |