|
Linux Kernel
3.7.1
|
Go to the source code of this file.
Macros | |
| #define | EPOCH_YEAR 1970 |
| #define | __isleap(year) ((year) % 4 == 0 && ((year) % 100 != 0 || (year) % 400 == 0)) |
| #define | MAX_YEAR_SECONDS 69 |
| #define | SPD 0x15180 /*3600*24 */ |
| #define | SPY(y, l, s) (SPD * (365 * y + l) + s) |
| #define | SECS_PER_HOUR (60 * 60) |
| #define | SECS_PER_DAY (SECS_PER_HOUR * 24) |
| #define | DIV(a, b) ((a) / (b) - ((a) % (b) < 0)) |
| #define | LEAPS_THRU_END_OF(y) (DIV (y, 4) - DIV (y, 100) + DIV (y, 400)) |
Functions | |
| struct timespec * | udf_disk_stamp_to_time (struct timespec *dest, struct timestamp src) |
| struct timestamp * | udf_time_to_disk_stamp (struct timestamp *dest, struct timespec ts) |
Variables | |
| struct timezone | sys_tz |
| #define SECS_PER_DAY (SECS_PER_HOUR * 24) |
1.8.2