00001 #ifndef CLASSLIB_TIME_CONST_H
00002 # define CLASSLIB_TIME_CONST_H
00003
00004
00005
00006 # include "classlib/utils/IntBits.h"
00007
00008 namespace lat {
00009 namespace TimeConst {
00010
00011
00012
00013
00014
00015
00016
00018 enum Months {
00019 January = 0,
00020 February = 1,
00021 March = 2,
00022 April = 3,
00023 May = 4,
00024 June = 5,
00025 July = 6,
00026 August = 7,
00027 September = 8,
00028 October = 9,
00029 November = 10,
00030 December = 11
00031 };
00032
00038 typedef IntBits<64>::SLeast TimeValue;
00039
00041 static const int SECS_PER_DAY = 86400;
00042
00044 static const int SECS_PER_HOUR = 3600;
00045
00047 static const TimeValue SEC_NSECS = 1000000000;
00048
00049
00050
00051 }
00052 }
00053 #endif // CLASSLIB_TIME_CONST_H