version 1.10.6.1, 2012/04/17 00:05:34 |
version 1.10.6.2, 2012/10/30 18:59:19 |
Line 367 o_merid : /* NULL */ { |
|
Line 367 o_merid : /* NULL */ { |
|
%% |
%% |
|
|
/* Month and day table. */ |
/* Month and day table. */ |
static const TABLE const MonthDayTable[] = { |
static const TABLE MonthDayTable[] = { |
{ "january", tMONTH, 1 }, |
{ "january", tMONTH, 1 }, |
{ "february", tMONTH, 2 }, |
{ "february", tMONTH, 2 }, |
{ "march", tMONTH, 3 }, |
{ "march", tMONTH, 3 }, |
Line 396 static const TABLE const MonthDayTable[] |
|
Line 396 static const TABLE const MonthDayTable[] |
|
}; |
}; |
|
|
/* Time units table. */ |
/* Time units table. */ |
static const TABLE const UnitsTable[] = { |
static const TABLE UnitsTable[] = { |
{ "year", tMONTH_UNIT, 12 }, |
{ "year", tMONTH_UNIT, 12 }, |
{ "month", tMONTH_UNIT, 1 }, |
{ "month", tMONTH_UNIT, 1 }, |
{ "fortnight", tMINUTE_UNIT, 14 * 24 * 60 }, |
{ "fortnight", tMINUTE_UNIT, 14 * 24 * 60 }, |
Line 411 static const TABLE const UnitsTable[] = |
|
Line 411 static const TABLE const UnitsTable[] = |
|
}; |
}; |
|
|
/* Assorted relative-time words. */ |
/* Assorted relative-time words. */ |
static const TABLE const OtherTable[] = { |
static const TABLE OtherTable[] = { |
{ "tomorrow", tMINUTE_UNIT, 1 * 24 * 60 }, |
{ "tomorrow", tMINUTE_UNIT, 1 * 24 * 60 }, |
{ "yesterday", tMINUTE_UNIT, -1 * 24 * 60 }, |
{ "yesterday", tMINUTE_UNIT, -1 * 24 * 60 }, |
{ "today", tMINUTE_UNIT, 0 }, |
{ "today", tMINUTE_UNIT, 0 }, |
Line 449 static const TABLE const OtherTable[] = |
|
Line 449 static const TABLE const OtherTable[] = |
|
|
|
/* The timezone table. */ |
/* The timezone table. */ |
/* Some of these are commented out because a time_t can't store a float. */ |
/* Some of these are commented out because a time_t can't store a float. */ |
static const TABLE const TimezoneTable[] = { |
static const TABLE TimezoneTable[] = { |
{ "gmt", tZONE, HOUR( 0) }, /* Greenwich Mean */ |
{ "gmt", tZONE, HOUR( 0) }, /* Greenwich Mean */ |
{ "ut", tZONE, HOUR( 0) }, /* Universal (Coordinated) */ |
{ "ut", tZONE, HOUR( 0) }, /* Universal (Coordinated) */ |
{ "utc", tZONE, HOUR( 0) }, |
{ "utc", tZONE, HOUR( 0) }, |
Line 533 static const TABLE const TimezoneTable[] |
|
Line 533 static const TABLE const TimezoneTable[] |
|
}; |
}; |
|
|
/* Military timezone table. */ |
/* Military timezone table. */ |
static const TABLE const MilitaryTable[] = { |
static const TABLE MilitaryTable[] = { |
{ "a", tZONE, HOUR( 1) }, |
{ "a", tZONE, HOUR( 1) }, |
{ "b", tZONE, HOUR( 2) }, |
{ "b", tZONE, HOUR( 2) }, |
{ "c", tZONE, HOUR( 3) }, |
{ "c", tZONE, HOUR( 3) }, |