diff options
author | lloyd <[email protected]> | 2010-06-22 13:43:18 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-06-22 13:43:18 +0000 |
commit | 54bac11c5d4e051f996951feb6a037b1de001329 (patch) | |
tree | 8cfa3b72ae36dcd156c4ab4dae1066ee3e021830 /src/utils/time.h | |
parent | 991f744c5a3e9610a2e4af70ae5daeb7a943a38e (diff) | |
parent | 238869aed29c3d703650ce55404929dc7e3f31fb (diff) |
propagate from branch 'net.randombit.botan' (head 647eeb4f4cf8fa4cf487cdc463d48f09fe18658e)
to branch 'net.randombit.botan.c++0x' (head 2539675db91883b11895ddc5244721e93c413321)
Diffstat (limited to 'src/utils/time.h')
-rw-r--r-- | src/utils/time.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/utils/time.h b/src/utils/time.h index c7a7e0e1a..516efba3e 100644 --- a/src/utils/time.h +++ b/src/utils/time.h @@ -18,11 +18,24 @@ namespace Botan { */ struct BOTAN_DLL calendar_point { + /** The year */ u32bit year; + + /** The month, 1 through 12 for Jan to Dec */ byte month; + + /** The day of the month, 1 through 31 (or 28 or 30 based on month */ byte day; + + /** Hour in 24-hour form, 0 to 23 */ byte hour; + + /** Minutes in the hour, 0 to 60 */ byte minutes; + + /** Seconds in the minute, 0 to 60, but might be slightly + larger to deal with leap seconds on some systems + */ byte seconds; /** |