|
Packit |
95306a |
package Date::Manip::Lang::english;
|
|
Packit |
95306a |
# Copyright (c) 1995-2017 Sullivan Beck. All rights reserved.
|
|
Packit |
95306a |
# This program is free software; you can redistribute it and/or modify it
|
|
Packit |
95306a |
# under the same terms as Perl itself.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
########################################################################
|
|
Packit |
95306a |
########################################################################
|
|
Packit |
95306a |
|
|
Packit |
95306a |
require 5.010000;
|
|
Packit |
95306a |
|
|
Packit |
95306a |
use strict;
|
|
Packit |
95306a |
use warnings;
|
|
Packit |
95306a |
use utf8;
|
|
Packit |
95306a |
|
|
Packit |
95306a |
our($VERSION);
|
|
Packit |
95306a |
$VERSION='6.60';
|
|
Packit |
95306a |
|
|
Packit |
95306a |
|
|
Packit |
95306a |
our($Language,@Encodings,$LangName,$YearAdded);
|
|
Packit |
95306a |
@Encodings = qw();
|
|
Packit |
95306a |
$LangName = "English";
|
|
Packit |
95306a |
$YearAdded = 1995;
|
|
Packit |
95306a |
|
|
Packit |
95306a |
$Language = {
|
|
Packit |
95306a |
ampm => [['AM', 'A.M.'], ['PM', 'P.M.']],
|
|
Packit |
95306a |
at => ['at'],
|
|
Packit |
95306a |
day_abb => [
|
|
Packit |
95306a |
['Mon', 'Mon.'],
|
|
Packit |
95306a |
['Tue', 'Tues', 'Tue.', 'Tues.'],
|
|
Packit |
95306a |
['Wed', 'Wed.'],
|
|
Packit |
95306a |
['Thu', 'Thur', 'Thu.', 'Thur.'],
|
|
Packit |
95306a |
['Fri', 'Fri.'],
|
|
Packit |
95306a |
['Sat', 'Sat.'],
|
|
Packit |
95306a |
['Sun', 'Sun.'],
|
|
Packit |
95306a |
],
|
|
Packit |
95306a |
day_char => [['M'], ['T'], ['W'], ['Th'], ['F'], ['Sa'], ['S']],
|
|
Packit |
95306a |
day_name => [
|
|
Packit |
95306a |
['Monday'],
|
|
Packit |
95306a |
['Tuesday'],
|
|
Packit |
95306a |
['Wednesday'],
|
|
Packit |
95306a |
['Thursday'],
|
|
Packit |
95306a |
['Friday'],
|
|
Packit |
95306a |
['Saturday'],
|
|
Packit |
95306a |
['Sunday'],
|
|
Packit |
95306a |
],
|
|
Packit |
95306a |
each => ['each', 'every'],
|
|
Packit |
95306a |
fields => [
|
|
Packit |
95306a |
['years', 'y', 'yr', 'year', 'yrs'],
|
|
Packit |
95306a |
['months', 'm', 'mon', 'month', 'mons'],
|
|
Packit |
95306a |
['weeks', 'w', 'wk', 'wks', 'week'],
|
|
Packit |
95306a |
['days', 'd', 'day'],
|
|
Packit |
95306a |
['hours', 'h', 'hr', 'hrs', 'hour'],
|
|
Packit |
95306a |
['minutes', 'mn', 'min', 'minute', 'mins'],
|
|
Packit |
95306a |
['seconds', 's', 'sec', 'second', 'secs'],
|
|
Packit |
95306a |
],
|
|
Packit |
95306a |
last => ['last', 'final'],
|
|
Packit |
95306a |
mode => [['exactly', 'approximately'], ['business']],
|
|
Packit |
95306a |
month_abb => [
|
|
Packit |
95306a |
['Jan', 'Jan.'],
|
|
Packit |
95306a |
['Feb', 'Feb.'],
|
|
Packit |
95306a |
['Mar', 'Mar.'],
|
|
Packit |
95306a |
['Apr', 'Apr.'],
|
|
Packit |
95306a |
['May', 'May.'],
|
|
Packit |
95306a |
['Jun', 'Jun.'],
|
|
Packit |
95306a |
['Jul', 'Jul.'],
|
|
Packit |
95306a |
['Aug', 'Aug.'],
|
|
Packit |
95306a |
['Sep', 'Sept', 'Sep.', 'Sept.'],
|
|
Packit |
95306a |
['Oct', 'Oct.'],
|
|
Packit |
95306a |
['Nov', 'Nov.'],
|
|
Packit |
95306a |
['Dec', 'Dec.'],
|
|
Packit |
95306a |
],
|
|
Packit |
95306a |
month_name => [
|
|
Packit |
95306a |
['January'],
|
|
Packit |
95306a |
['February'],
|
|
Packit |
95306a |
['March'],
|
|
Packit |
95306a |
['April'],
|
|
Packit |
95306a |
['May'],
|
|
Packit |
95306a |
['June'],
|
|
Packit |
95306a |
['July'],
|
|
Packit |
95306a |
['August'],
|
|
Packit |
95306a |
['September'],
|
|
Packit |
95306a |
['October'],
|
|
Packit |
95306a |
['November'],
|
|
Packit |
95306a |
['December'],
|
|
Packit |
95306a |
],
|
|
Packit |
95306a |
nextprev => [['next', 'following'], ['previous', 'last']],
|
|
Packit |
95306a |
nth => [
|
|
Packit |
95306a |
['1st', 'first', 'one'],
|
|
Packit |
95306a |
['2nd', 'second', 'two'],
|
|
Packit |
95306a |
['3rd', 'third', 'three'],
|
|
Packit |
95306a |
['4th', 'fourth', 'four'],
|
|
Packit |
95306a |
['5th', 'fifth', 'five'],
|
|
Packit |
95306a |
['6th', 'sixth', 'six'],
|
|
Packit |
95306a |
['7th', 'seventh', 'seven'],
|
|
Packit |
95306a |
['8th', 'eighth', 'eight'],
|
|
Packit |
95306a |
['9th', 'ninth', 'nine'],
|
|
Packit |
95306a |
['10th', 'tenth', 'ten'],
|
|
Packit |
95306a |
['11th', 'eleventh', 'eleven'],
|
|
Packit |
95306a |
['12th', 'twelfth', 'twelve'],
|
|
Packit |
95306a |
['13th', 'thirteenth', 'thirteen'],
|
|
Packit |
95306a |
['14th', 'fourteenth', 'fourteen'],
|
|
Packit |
95306a |
['15th', 'fifteenth', 'fifteen'],
|
|
Packit |
95306a |
['16th', 'sixteenth', 'sixteen'],
|
|
Packit |
95306a |
['17th', 'seventeenth', 'seventeen'],
|
|
Packit |
95306a |
['18th', 'eighteenth', 'eighteen'],
|
|
Packit |
95306a |
['19th', 'nineteenth', 'nineteen'],
|
|
Packit |
95306a |
['20th', 'twentieth', 'twenty'],
|
|
Packit |
95306a |
['21st', 'twenty-first', 'twenty-one'],
|
|
Packit |
95306a |
['22nd', 'twenty-second', 'twenty-two'],
|
|
Packit |
95306a |
['23rd', 'twenty-third', 'twenty-three'],
|
|
Packit |
95306a |
['24th', 'twenty-fourth', 'twenty-four'],
|
|
Packit |
95306a |
['25th', 'twenty-fifth', 'twenty-five'],
|
|
Packit |
95306a |
['26th', 'twenty-sixth', 'twenty-six'],
|
|
Packit |
95306a |
['27th', 'twenty-seventh', 'twenty-seven'],
|
|
Packit |
95306a |
['28th', 'twenty-eighth', 'twenty-eight'],
|
|
Packit |
95306a |
['29th', 'twenty-ninth', 'twenty-nine'],
|
|
Packit |
95306a |
['30th', 'thirtieth', 'thirty'],
|
|
Packit |
95306a |
['31st', 'thirty-first', 'thirty-one'],
|
|
Packit |
95306a |
['32nd', 'thirty-two', 'thirty-second'],
|
|
Packit |
95306a |
['33rd', 'thirty-three', 'thirty-third'],
|
|
Packit |
95306a |
['34th', 'thirty-four', 'thirty-fourth'],
|
|
Packit |
95306a |
['35th', 'thirty-five', 'thirty-fifth'],
|
|
Packit |
95306a |
['36th', 'thirty-six', 'thirty-sixth'],
|
|
Packit |
95306a |
['37th', 'thirty-seven', 'thirty-seventh'],
|
|
Packit |
95306a |
['38th', 'thirty-eight', 'thirty-eighth'],
|
|
Packit |
95306a |
['39th', 'thirty-nine', 'thirty-ninth'],
|
|
Packit |
95306a |
['40th', 'forty', 'fortieth'],
|
|
Packit |
95306a |
['41st', 'forty-one', 'forty-first'],
|
|
Packit |
95306a |
['42nd', 'forty-two', 'forty-second'],
|
|
Packit |
95306a |
['43rd', 'forty-three', 'forty-third'],
|
|
Packit |
95306a |
['44th', 'forty-four', 'forty-fourth'],
|
|
Packit |
95306a |
['45th', 'forty-five', 'forty-fifth'],
|
|
Packit |
95306a |
['46th', 'forty-six', 'forty-sixth'],
|
|
Packit |
95306a |
['47th', 'forty-seven', 'forty-seventh'],
|
|
Packit |
95306a |
['48th', 'forty-eight', 'forty-eighth'],
|
|
Packit |
95306a |
['49th', 'forty-nine', 'forty-ninth'],
|
|
Packit |
95306a |
['50th', 'fifty', 'fiftieth'],
|
|
Packit |
95306a |
['51st', 'fifty-one', 'fifty-first'],
|
|
Packit |
95306a |
['52nd', 'fifty-two', 'fifty-second'],
|
|
Packit |
95306a |
['53rd', 'fifty-three', 'fifty-third'],
|
|
Packit |
95306a |
],
|
|
Packit |
95306a |
of => ['of', 'in'],
|
|
Packit |
95306a |
offset_date => {
|
|
Packit |
95306a |
ereyesterday => '-0:0:0:2:0:0:0',
|
|
Packit |
95306a |
overmorrow => '+0:0:0:2:0:0:0',
|
|
Packit |
95306a |
today => '0:0:0:0:0:0:0',
|
|
Packit |
95306a |
tomorrow => '+0:0:0:1:0:0:0',
|
|
Packit |
95306a |
yesterday => '-0:0:0:1:0:0:0',
|
|
Packit |
95306a |
},
|
|
Packit |
95306a |
offset_time => { now => '0:0:0:0:0:0:0' },
|
|
Packit |
95306a |
on => ['on'],
|
|
Packit |
95306a |
times => { midnight => '00:00:00', noon => '12:00:00' },
|
|
Packit |
95306a |
when => [
|
|
Packit |
95306a |
['ago', 'past', 'in the past', 'earlier', 'before now'],
|
|
Packit |
95306a |
['in', 'later', 'future', 'in the future', 'from now'],
|
|
Packit |
95306a |
],
|
|
Packit |
95306a |
};
|
|
Packit |
95306a |
|
|
Packit |
95306a |
1;
|