1Date::Manip::Lang(3) User Contributed Perl Documentation Date::Manip::Lang(3)
2
3
4
6 Date::Manip::Lang - date manipulation routines (language
7 initialization)
8
10 This module is a series of routines, one per language, used to
11 initialize the support for different languages in Date::Manip
12
14 Adding a language is easily done. If you want to add a language, refer
15 to the list of words and phrases given below. Translate them into the
16 desired language and email them to me.
17
18 Note that Date::Manip does support international character sets, so if
19 there are non-ASCII characters in the words, it's not a problem. Be
20 sure to include an ASCII representation as well that can be used in
21 cases where non-ASCII characters might cause problems. In many cases,
22 alternate spellings are allowed, and there may be multiple words or
23 phrases which fit, so please include all of them (with ASCII
24 representations for any that include non-ASCII characters).
25
26 Please translate ALL of the following. In some cases, a phrase is
27 given in parentheses. It is not necessary to translate the phrase.
28 They're there to show the word in the correct context.
29
30 month names (January February ...)
31 abbreviations (Jan Feb ...)
32
33 day name (Monday Tuesday ... Sunday)
34 abbreviation (Mon Tue ... Sun)
35 short abbrev. (M T ... S)
36
37 number suffix (1st 2nd ... 31st)
38 spelled out (first second ... thirty-first
39
40 now
41 today
42 tomorrow
43 yesterday
44
45 last (last day of the month)
46
47 each (each Tuesday of the month)
48
49 of (first day of the week)
50
51 at (at 3:00)
52
53 on (on Tuesday)
54
55 next (next Tuesday)
56
57 last (last Tuesday)
58
59 exactly (in exactly 3 hours)
60
61 approximately (in approximately 3 hours)
62
63 business (in 4 business days)
64
65
66
67 Some times of the day are named. At the very least, there is
68 probably noon and midnight. Provide all named times, and the
69 time of day.
70 noon 12:00:00
71 midnight 00:00:00
72
73 The delta field names can be written or abbreviated in many differet
74 ways. Provide all names and abbreviations for the seven fields. For
75 example:
76 years/year/yrs/yr/y
77 months/month/mon
78 weeks/week/wk/wks/w
79 days/day/d
80 hours/hour/hr/hrs
81 minutes/minute/min/mn
82 seconds/second/sec/s
83
84 What words/phrases can be used to say that a time is in the future? E.g.
85 IN 3 hours
86 3 hours LATER
87 3 hours IN THE FUTURE
88 In the past?
89 3 hours AGO
90 3 hours PAST
91
92 Does the language have an equivalent of the English AM/PM? If so,
93 what are all possible values of each?
94
95 Other than a comma or period, are there any common integer/decimal
96 separators? For example: 1.25 can be expressed as 1.25 or 1,25
97 commonly. Are there any other ways?
98
99 When expressing time the hours/minutes and minutes/seconds are
100 typically separated by colons. Are there any other separators?
101 If so, what combinations of the separators are used in real life?
102 For example: 05h30:00.
103 NOTE: there must be the same number of sephm and sepms values
104 and the first sephm corresponds to the first sepms, etc.
105
107 Sullivan Beck (sbeck@cpan.org)
108
109 You can always get the newest beta version of Date::Manip (which may
110 fix problems in the current CPAN version... and may add others) from my
111 home page:
112
113 http://www.cise.ufl.edu/~sbeck/
114
115
116
117perl v5.12.0 2010-04-27 Date::Manip::Lang(3)