libtime++: Date and time calculation
usage.cc
Go to the documentation of this file.
1 
34 #define TF_USAGE_CC_VERSION \
35  "TF_USAGE_CC V1.0"
36 
37 #include <libtime++.h>
38 
39 namespace libtime {
40 
42  {
43  "Times and dates can be specified as follows:" "\n"
44  "1. Absolute time" "\n"
45  " defines a specific date, like 2005/7/15_12:30 specifies the" "\n"
46  " 15th of July in 2005 at half past twelve. The general format" "\n"
47  " for absolute time is: yyyy/mm/dd/HH/MM/SS.SSSSSS" "\n"
48  "2. Relative time" "\n"
49  " specifies a time range like 0/8/15, which means 8 hours and" "\n"
50  " fifteen minutes. The general format for relative time is" "\n"
51  " dd/HH/MM/SS.SSSSSS" "\n"
52  "In the format strings given above, '/' serves as a field separator." "\n"
53  "This character may be replaced by any non-digit character. Leading" "\n"
54  "zeroes may be omitted in all fields, where yyyy means year, mm" "\n"
55  "means month, dd means day, HH means hour, mm means minute and" "\n"
56  "SS.SSSSSS means seconds. Seconds are specified as a floating point" "\n"
57  "value with precision down to microseconds. Two-digit year values" "\n"
58  "will be interpreted as years in the 20th century (for values larger" "\n"
59  "than 69) or in the 21st century (for values smaller than 70)." "\n"
60  "Fields from HH on may be omitted." "\n"
61  }; // usage_time_format_string
62 
63 }
64 
65 /* ----- END OF usage.cc ----- */
const char usage_time_format_string[]
print information on time format
Definition: usage.cc:41