|
Packit |
95306a |
# Copyright (c) 1996-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 |
=pod
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=encoding utf-8
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=head1 NAME
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Date::Manip::Lang::swedish - Swedish language support.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=head1 SYNOPSIS
|
|
Packit |
95306a |
|
|
Packit |
95306a |
This module contains a list of words and expressions supporting
|
|
Packit |
95306a |
the language. It is not intended to be used directly (other
|
|
Packit |
95306a |
Date::Manip modules will load it as needed).
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=head1 LANGUAGE EXPRESSIONS
|
|
Packit |
95306a |
|
|
Packit |
95306a |
The following is a list of all language words and expressions used
|
|
Packit |
95306a |
to write times and/or dates.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
All strings are case insensitive.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=over 4
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item B<Month names and abbreviations>
|
|
Packit |
95306a |
|
|
Packit |
95306a |
When writing out the name of the month, several different variations may
|
|
Packit |
95306a |
exist including full names and abbreviations.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
The following month names may be used:
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Januari
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Februari
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Mars
|
|
Packit |
95306a |
|
|
Packit |
95306a |
April
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Maj
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Juni
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Juli
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Augusti
|
|
Packit |
95306a |
|
|
Packit |
95306a |
September
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Oktober
|
|
Packit |
95306a |
|
|
Packit |
95306a |
November
|
|
Packit |
95306a |
|
|
Packit |
95306a |
December
|
|
Packit |
95306a |
|
|
Packit |
95306a |
|
|
Packit |
95306a |
The following abbreviations may be used:
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Jan
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Feb
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Mar
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Apr
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Maj
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Jun
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Jul
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Aug
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Sep
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Okt
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Nov
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Dec
|
|
Packit |
95306a |
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item B<Day names and abbreviations>
|
|
Packit |
95306a |
|
|
Packit |
95306a |
When writing out the name of the day, several different variations may
|
|
Packit |
95306a |
exist including full names and abbreviations.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
The following day names may be used:
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Måndag
|
|
Packit |
95306a |
Mandag
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Tisdag
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Onsdag
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Torsdag
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Fredag
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Lördag
|
|
Packit |
95306a |
Lordag
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Söndag
|
|
Packit |
95306a |
Sondag
|
|
Packit |
95306a |
|
|
Packit |
95306a |
|
|
Packit |
95306a |
The following abbreviations may be used:
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Mån
|
|
Packit |
95306a |
Man
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Tis
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Ons
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Tor
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Fre
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Lör
|
|
Packit |
95306a |
Lor
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Sön
|
|
Packit |
95306a |
Son
|
|
Packit |
95306a |
|
|
Packit |
95306a |
|
|
Packit |
95306a |
The following short (1-2 characters) abbreviations may be used:
|
|
Packit |
95306a |
|
|
Packit |
95306a |
M
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Ti
|
|
Packit |
95306a |
|
|
Packit |
95306a |
O
|
|
Packit |
95306a |
|
|
Packit |
95306a |
To
|
|
Packit |
95306a |
|
|
Packit |
95306a |
F
|
|
Packit |
95306a |
|
|
Packit |
95306a |
L
|
|
Packit |
95306a |
|
|
Packit |
95306a |
S
|
|
Packit |
95306a |
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item B<Delta field names>
|
|
Packit |
95306a |
|
|
Packit |
95306a |
These are the names (and abbreviations) for the fields in a delta. There are
|
|
Packit |
95306a |
7 fields: years, months, weeks, days, hours, minutes, seconds.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
The names and abbreviations for these fields are:
|
|
Packit |
95306a |
|
|
Packit |
95306a |
ar
|
|
Packit |
95306a |
år
|
|
Packit |
95306a |
|
|
Packit |
95306a |
manader
|
|
Packit |
95306a |
månader
|
|
Packit |
95306a |
man
|
|
Packit |
95306a |
manad
|
|
Packit |
95306a |
mån
|
|
Packit |
95306a |
månad
|
|
Packit |
95306a |
|
|
Packit |
95306a |
veckor
|
|
Packit |
95306a |
v
|
|
Packit |
95306a |
vecka
|
|
Packit |
95306a |
|
|
Packit |
95306a |
dagar
|
|
Packit |
95306a |
d
|
|
Packit |
95306a |
dag
|
|
Packit |
95306a |
|
|
Packit |
95306a |
timmar
|
|
Packit |
95306a |
t
|
|
Packit |
95306a |
tim
|
|
Packit |
95306a |
timme
|
|
Packit |
95306a |
|
|
Packit |
95306a |
minuter
|
|
Packit |
95306a |
m
|
|
Packit |
95306a |
min
|
|
Packit |
95306a |
minut
|
|
Packit |
95306a |
|
|
Packit |
95306a |
sekunder
|
|
Packit |
95306a |
s
|
|
Packit |
95306a |
sek
|
|
Packit |
95306a |
sekund
|
|
Packit |
95306a |
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item B<Morning/afternoon times>
|
|
Packit |
95306a |
|
|
Packit |
95306a |
This is a list of expressions use to designate morning or afternoon time
|
|
Packit |
95306a |
when a time is entered as a 12-hour time rather than a 24-hour time.
|
|
Packit |
95306a |
For example, in English, the time "17:00" could be specified as "5:00 PM".
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Morning and afternoon time may be designated by the following sets of
|
|
Packit |
95306a |
words:
|
|
Packit |
95306a |
|
|
Packit |
95306a |
FM
|
|
Packit |
95306a |
|
|
Packit |
95306a |
EM
|
|
Packit |
95306a |
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item B<Each or every>
|
|
Packit |
95306a |
|
|
Packit |
95306a |
There are a list of words that specify every occurrence of something. These
|
|
Packit |
95306a |
are used in the following phrases:
|
|
Packit |
95306a |
|
|
Packit |
95306a |
EACH Monday
|
|
Packit |
95306a |
EVERY Monday
|
|
Packit |
95306a |
EVERY month
|
|
Packit |
95306a |
|
|
Packit |
95306a |
The following words may be used:
|
|
Packit |
95306a |
|
|
Packit |
95306a |
varje
|
|
Packit |
95306a |
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item B<Next/Previous/Last occurrence>
|
|
Packit |
95306a |
|
|
Packit |
95306a |
There are a list of words that may be used to specify the next,
|
|
Packit |
95306a |
previous, or last occurrence of something. These words could be used
|
|
Packit |
95306a |
in the following phrases:
|
|
Packit |
95306a |
|
|
Packit |
95306a |
NEXT week
|
|
Packit |
95306a |
|
|
Packit |
95306a |
LAST Tuesday
|
|
Packit |
95306a |
PREVIOUS Tuesday
|
|
Packit |
95306a |
|
|
Packit |
95306a |
LAST day of the month
|
|
Packit |
95306a |
|
|
Packit |
95306a |
The following words may be used:
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Next occurrence:
|
|
Packit |
95306a |
|
|
Packit |
95306a |
nasta
|
|
Packit |
95306a |
nästa
|
|
Packit |
95306a |
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Previous occurrence:
|
|
Packit |
95306a |
|
|
Packit |
95306a |
forra
|
|
Packit |
95306a |
förra
|
|
Packit |
95306a |
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Last occurrence:
|
|
Packit |
95306a |
|
|
Packit |
95306a |
forra
|
|
Packit |
95306a |
förra
|
|
Packit |
95306a |
senaste
|
|
Packit |
95306a |
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item B<Delta words for going forward/backward in time>
|
|
Packit |
95306a |
|
|
Packit |
95306a |
When parsing deltas, there are words that may be used to specify
|
|
Packit |
95306a |
the the delta will refer to a time in the future or to a time in
|
|
Packit |
95306a |
the past (relative to some date). In English, for example, you
|
|
Packit |
95306a |
might say:
|
|
Packit |
95306a |
|
|
Packit |
95306a |
IN 5 days
|
|
Packit |
95306a |
5 days AGO
|
|
Packit |
95306a |
|
|
Packit |
95306a |
The following words may be used to specify deltas that refer to
|
|
Packit |
95306a |
dates in the past or future respectively:
|
|
Packit |
95306a |
|
|
Packit |
95306a |
sedan
|
|
Packit |
95306a |
|
|
Packit |
95306a |
om
|
|
Packit |
95306a |
senare
|
|
Packit |
95306a |
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item B<Business mode>
|
|
Packit |
95306a |
|
|
Packit |
95306a |
This contains two lists of words which can be used to specify a standard
|
|
Packit |
95306a |
(i.e. non-business) delta or a business delta.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Previously, it was used to tell whether the delta was approximate or exact,
|
|
Packit |
95306a |
but now this list is not used except to force the delta to be standard.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
The following words may be used:
|
|
Packit |
95306a |
|
|
Packit |
95306a |
exakt
|
|
Packit |
95306a |
ungefar
|
|
Packit |
95306a |
ungefär
|
|
Packit |
95306a |
|
|
Packit |
95306a |
|
|
Packit |
95306a |
The following words may be used to specify a business delta:
|
|
Packit |
95306a |
|
|
Packit |
95306a |
arbetsdag
|
|
Packit |
95306a |
arbetsdagar
|
|
Packit |
95306a |
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item B<Numbers>
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Numbers may be spelled out in a variety of ways. The following sets correspond
|
|
Packit |
95306a |
to the numbers from 1 to 53:
|
|
Packit |
95306a |
|
|
Packit |
95306a |
1:a
|
|
Packit |
95306a |
en
|
|
Packit |
95306a |
ett
|
|
Packit |
95306a |
forsta
|
|
Packit |
95306a |
första
|
|
Packit |
95306a |
|
|
Packit |
95306a |
2:a
|
|
Packit |
95306a |
två
|
|
Packit |
95306a |
tva
|
|
Packit |
95306a |
andra
|
|
Packit |
95306a |
|
|
Packit |
95306a |
3:e
|
|
Packit |
95306a |
tre
|
|
Packit |
95306a |
tredje
|
|
Packit |
95306a |
|
|
Packit |
95306a |
4:e
|
|
Packit |
95306a |
fyra
|
|
Packit |
95306a |
fjarde
|
|
Packit |
95306a |
fjärde
|
|
Packit |
95306a |
|
|
Packit |
95306a |
5:e
|
|
Packit |
95306a |
fem
|
|
Packit |
95306a |
femte
|
|
Packit |
95306a |
|
|
Packit |
95306a |
6:e
|
|
Packit |
95306a |
sex
|
|
Packit |
95306a |
sjatte
|
|
Packit |
95306a |
sjätte
|
|
Packit |
95306a |
|
|
Packit |
95306a |
7:e
|
|
Packit |
95306a |
sju
|
|
Packit |
95306a |
sjunde
|
|
Packit |
95306a |
|
|
Packit |
95306a |
8:e
|
|
Packit |
95306a |
åtta
|
|
Packit |
95306a |
atta
|
|
Packit |
95306a |
attonde
|
|
Packit |
95306a |
åttonde
|
|
Packit |
95306a |
|
|
Packit |
95306a |
9:e
|
|
Packit |
95306a |
nio
|
|
Packit |
95306a |
nionde
|
|
Packit |
95306a |
|
|
Packit |
95306a |
10:e
|
|
Packit |
95306a |
tio
|
|
Packit |
95306a |
tionde
|
|
Packit |
95306a |
|
|
Packit |
95306a |
|
|
Packit |
95306a |
11:e
|
|
Packit |
95306a |
elva
|
|
Packit |
95306a |
elfte
|
|
Packit |
95306a |
|
|
Packit |
95306a |
12:e
|
|
Packit |
95306a |
tolv
|
|
Packit |
95306a |
tolfte
|
|
Packit |
95306a |
|
|
Packit |
95306a |
13:e
|
|
Packit |
95306a |
tretton
|
|
Packit |
95306a |
trettonde
|
|
Packit |
95306a |
|
|
Packit |
95306a |
14:e
|
|
Packit |
95306a |
fjorton
|
|
Packit |
95306a |
fjortonde
|
|
Packit |
95306a |
|
|
Packit |
95306a |
15:e
|
|
Packit |
95306a |
femton
|
|
Packit |
95306a |
femtonde
|
|
Packit |
95306a |
|
|
Packit |
95306a |
16:e
|
|
Packit |
95306a |
sexton
|
|
Packit |
95306a |
sextonde
|
|
Packit |
95306a |
|
|
Packit |
95306a |
17:e
|
|
Packit |
95306a |
sjutton
|
|
Packit |
95306a |
sjuttonde
|
|
Packit |
95306a |
|
|
Packit |
95306a |
18:e
|
|
Packit |
95306a |
arton
|
|
Packit |
95306a |
artonde
|
|
Packit |
95306a |
|
|
Packit |
95306a |
19:e
|
|
Packit |
95306a |
nitton
|
|
Packit |
95306a |
nittonde
|
|
Packit |
95306a |
|
|
Packit |
95306a |
20:e
|
|
Packit |
95306a |
tjugo
|
|
Packit |
95306a |
tjugonde
|
|
Packit |
95306a |
|
|
Packit |
95306a |
|
|
Packit |
95306a |
21:a
|
|
Packit |
95306a |
tjugoen
|
|
Packit |
95306a |
tjugoett
|
|
Packit |
95306a |
tjugoforsta
|
|
Packit |
95306a |
tjugoförsta
|
|
Packit |
95306a |
|
|
Packit |
95306a |
22:a
|
|
Packit |
95306a |
tjugotvå
|
|
Packit |
95306a |
tjugotva
|
|
Packit |
95306a |
tjugoandra
|
|
Packit |
95306a |
|
|
Packit |
95306a |
23:e
|
|
Packit |
95306a |
tjugotre
|
|
Packit |
95306a |
tjugotredje
|
|
Packit |
95306a |
|
|
Packit |
95306a |
24:e
|
|
Packit |
95306a |
tjugofyra
|
|
Packit |
95306a |
tjugofjarde
|
|
Packit |
95306a |
tjugofjärde
|
|
Packit |
95306a |
|
|
Packit |
95306a |
25:e
|
|
Packit |
95306a |
tjugofem
|
|
Packit |
95306a |
tjugofemte
|
|
Packit |
95306a |
|
|
Packit |
95306a |
26:e
|
|
Packit |
95306a |
tjugosex
|
|
Packit |
95306a |
tjugosjatte
|
|
Packit |
95306a |
tjugosjätte
|
|
Packit |
95306a |
|
|
Packit |
95306a |
27:e
|
|
Packit |
95306a |
tjugosju
|
|
Packit |
95306a |
tjugosjunde
|
|
Packit |
95306a |
|
|
Packit |
95306a |
28:e
|
|
Packit |
95306a |
tjugoåtta
|
|
Packit |
95306a |
tjugoatta
|
|
Packit |
95306a |
tjugoattonde
|
|
Packit |
95306a |
tjugoåttonde
|
|
Packit |
95306a |
|
|
Packit |
95306a |
29:e
|
|
Packit |
95306a |
tjugonio
|
|
Packit |
95306a |
tjugonionde
|
|
Packit |
95306a |
|
|
Packit |
95306a |
30:e
|
|
Packit |
95306a |
trettio
|
|
Packit |
95306a |
trettionde
|
|
Packit |
95306a |
|
|
Packit |
95306a |
|
|
Packit |
95306a |
31:a
|
|
Packit |
95306a |
trettioen
|
|
Packit |
95306a |
trettioett
|
|
Packit |
95306a |
trettioforsta
|
|
Packit |
95306a |
trettioförsta
|
|
Packit |
95306a |
|
|
Packit |
95306a |
32:a
|
|
Packit |
95306a |
trettiotvå
|
|
Packit |
95306a |
trettiotva
|
|
Packit |
95306a |
trettioandra
|
|
Packit |
95306a |
|
|
Packit |
95306a |
33:e
|
|
Packit |
95306a |
trettiotre
|
|
Packit |
95306a |
trettiotredje
|
|
Packit |
95306a |
|
|
Packit |
95306a |
34:e
|
|
Packit |
95306a |
trettiofyra
|
|
Packit |
95306a |
trettiofjarde
|
|
Packit |
95306a |
trettiofjärde
|
|
Packit |
95306a |
|
|
Packit |
95306a |
35:e
|
|
Packit |
95306a |
trettiofem
|
|
Packit |
95306a |
trettiofemte
|
|
Packit |
95306a |
|
|
Packit |
95306a |
36:e
|
|
Packit |
95306a |
trettiosex
|
|
Packit |
95306a |
trettiosjatte
|
|
Packit |
95306a |
trettiosjätte
|
|
Packit |
95306a |
|
|
Packit |
95306a |
37:e
|
|
Packit |
95306a |
trettiosju
|
|
Packit |
95306a |
trettiosjunde
|
|
Packit |
95306a |
|
|
Packit |
95306a |
38:e
|
|
Packit |
95306a |
trettioåtta
|
|
Packit |
95306a |
trettioatta
|
|
Packit |
95306a |
trettioattonde
|
|
Packit |
95306a |
trettioåttonde
|
|
Packit |
95306a |
|
|
Packit |
95306a |
39:e
|
|
Packit |
95306a |
trettionio
|
|
Packit |
95306a |
trettionionde
|
|
Packit |
95306a |
|
|
Packit |
95306a |
40:e
|
|
Packit |
95306a |
fyrtio
|
|
Packit |
95306a |
fyrtionde
|
|
Packit |
95306a |
|
|
Packit |
95306a |
|
|
Packit |
95306a |
41:a
|
|
Packit |
95306a |
fyrtioen
|
|
Packit |
95306a |
fyrtioett
|
|
Packit |
95306a |
fyrtioforsta
|
|
Packit |
95306a |
fyrtioförsta
|
|
Packit |
95306a |
|
|
Packit |
95306a |
42:a
|
|
Packit |
95306a |
fyrtiotvå
|
|
Packit |
95306a |
fyrtiotva
|
|
Packit |
95306a |
fyrtioandra
|
|
Packit |
95306a |
|
|
Packit |
95306a |
43:e
|
|
Packit |
95306a |
fyrtiotre
|
|
Packit |
95306a |
fyrtiotredje
|
|
Packit |
95306a |
|
|
Packit |
95306a |
44:e
|
|
Packit |
95306a |
fyrtiofyra
|
|
Packit |
95306a |
fyrtiofjarde
|
|
Packit |
95306a |
fyrtiofjärde
|
|
Packit |
95306a |
|
|
Packit |
95306a |
45:e
|
|
Packit |
95306a |
fyrtiofem
|
|
Packit |
95306a |
fyrtiofemte
|
|
Packit |
95306a |
|
|
Packit |
95306a |
46:e
|
|
Packit |
95306a |
fyrtiosex
|
|
Packit |
95306a |
fyrtiosjatte
|
|
Packit |
95306a |
fyrtiosjätte
|
|
Packit |
95306a |
|
|
Packit |
95306a |
47:e
|
|
Packit |
95306a |
fyrtiosju
|
|
Packit |
95306a |
fyrtiosjunde
|
|
Packit |
95306a |
|
|
Packit |
95306a |
48:e
|
|
Packit |
95306a |
fyrtioåtta
|
|
Packit |
95306a |
fyrtioatta
|
|
Packit |
95306a |
fyrtioattonde
|
|
Packit |
95306a |
fyrtioåttonde
|
|
Packit |
95306a |
|
|
Packit |
95306a |
49:e
|
|
Packit |
95306a |
fyrtionio
|
|
Packit |
95306a |
fyrtionionde
|
|
Packit |
95306a |
|
|
Packit |
95306a |
50:e
|
|
Packit |
95306a |
femtio
|
|
Packit |
95306a |
femtionde
|
|
Packit |
95306a |
|
|
Packit |
95306a |
|
|
Packit |
95306a |
51:a
|
|
Packit |
95306a |
femtioen
|
|
Packit |
95306a |
femtioett
|
|
Packit |
95306a |
femtioforsta
|
|
Packit |
95306a |
femtioförsta
|
|
Packit |
95306a |
|
|
Packit |
95306a |
52:a
|
|
Packit |
95306a |
femtiotvå
|
|
Packit |
95306a |
femtiotva
|
|
Packit |
95306a |
femtioandra
|
|
Packit |
95306a |
|
|
Packit |
95306a |
53:e
|
|
Packit |
95306a |
femtiotre
|
|
Packit |
95306a |
femtiotredje
|
|
Packit |
95306a |
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item B<Ignored words>
|
|
Packit |
95306a |
|
|
Packit |
95306a |
In writing out dates in common forms, there are a number of words
|
|
Packit |
95306a |
that are typically not important.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
There is frequently a word that appears in a phrase to designate
|
|
Packit |
95306a |
that a time is going to be specified next. In English, you would
|
|
Packit |
95306a |
use the word AT in the example:
|
|
Packit |
95306a |
|
|
Packit |
95306a |
December 3 at 12:00
|
|
Packit |
95306a |
|
|
Packit |
95306a |
The following words may be used:
|
|
Packit |
95306a |
|
|
Packit |
95306a |
kl
|
|
Packit |
95306a |
kl.
|
|
Packit |
95306a |
klockan
|
|
Packit |
95306a |
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Another word is used to designate one member of a set. In English,
|
|
Packit |
95306a |
you would use the words IN or OF:
|
|
Packit |
95306a |
|
|
Packit |
95306a |
1st day OF December
|
|
Packit |
95306a |
1st day IN December
|
|
Packit |
95306a |
|
|
Packit |
95306a |
The following words may be used:
|
|
Packit |
95306a |
|
|
Packit |
95306a |
om
|
|
Packit |
95306a |
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Another word is use to specify that something is on a certain date. In
|
|
Packit |
95306a |
English, you would use ON:
|
|
Packit |
95306a |
|
|
Packit |
95306a |
ON July 5th
|
|
Packit |
95306a |
|
|
Packit |
95306a |
The following words may be used:
|
|
Packit |
95306a |
|
|
Packit |
95306a |
pa
|
|
Packit |
95306a |
på
|
|
Packit |
95306a |
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item B<Words that set the date, time, or both>
|
|
Packit |
95306a |
|
|
Packit |
95306a |
There are some words that can be used to specify a date, a
|
|
Packit |
95306a |
time, or both relative to now.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Words that set the date are similar to the English words 'yesterday'
|
|
Packit |
95306a |
or 'tomorrow'. These are specified as a delta which is added to the
|
|
Packit |
95306a |
current time to get a date. The time is NOT set however, so the delta
|
|
Packit |
95306a |
is only partially used (it should only include year, month, week, and
|
|
Packit |
95306a |
day fields).
|
|
Packit |
95306a |
|
|
Packit |
95306a |
The following words may be used:
|
|
Packit |
95306a |
|
|
Packit |
95306a |
i dag 0:0:0:0:0:0:0
|
|
Packit |
95306a |
i gar -0:0:0:1:0:0:0
|
|
Packit |
95306a |
i går -0:0:0:1:0:0:0
|
|
Packit |
95306a |
i morgon +0:0:0:1:0:0:0
|
|
Packit |
95306a |
idag 0:0:0:0:0:0:0
|
|
Packit |
95306a |
igar -0:0:0:1:0:0:0
|
|
Packit |
95306a |
igår -0:0:0:1:0:0:0
|
|
Packit |
95306a |
imorgon +0:0:0:1:0:0:0
|
|
Packit |
95306a |
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Words that set only the time of day are similar to the English words
|
|
Packit |
95306a |
'noon' or 'midnight'.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
The following words may be used:
|
|
Packit |
95306a |
|
|
Packit |
95306a |
midnatt 00:00:00
|
|
Packit |
95306a |
mitt pa dagen 12:00:00
|
|
Packit |
95306a |
mitt på dagen 12:00:00
|
|
Packit |
95306a |
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Words that set the entire time and date (relative to the current
|
|
Packit |
95306a |
time and date) are also available.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
In English, the word 'now' is one of these.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
The following words may be used:
|
|
Packit |
95306a |
|
|
Packit |
95306a |
nu 0:0:0:0:0:0:0
|
|
Packit |
95306a |
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item B<Hour/Minute/Second separators>
|
|
Packit |
95306a |
|
|
Packit |
95306a |
When specifying the time of day, the most common separator is a colon (:)
|
|
Packit |
95306a |
which can be used for both separators.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Some languages use different pairs. For example, French allows you to
|
|
Packit |
95306a |
specify the time as 13h30:20, so it would use the following pairs:
|
|
Packit |
95306a |
|
|
Packit |
95306a |
: :
|
|
Packit |
95306a |
h :
|
|
Packit |
95306a |
|
|
Packit |
95306a |
The first column is the hour-minute separator and the second column is
|
|
Packit |
95306a |
the minute-second separator. Both are perl regular expressions. When
|
|
Packit |
95306a |
creating a new translation, be aware that regular expressions with utf-8
|
|
Packit |
95306a |
characters may be tricky. For example, don't include the expression '[x]'
|
|
Packit |
95306a |
where 'x' is a utf-8 character.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
A pair of colons is ALWAY allowed for all languages. If a language allows
|
|
Packit |
95306a |
additional pairs, they are listed here:
|
|
Packit |
95306a |
|
|
Packit |
95306a |
\. :
|
|
Packit |
95306a |
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item B<Fractional second separator>
|
|
Packit |
95306a |
|
|
Packit |
95306a |
When specifying fractional seconds, the most common way is to use a
|
|
Packit |
95306a |
decimal point (.). Some languages may specify a different separator
|
|
Packit |
95306a |
that might be used. If this is done, it is a regular expression.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
The decimal point is ALWAYS allowed for all languages. If a language allows
|
|
Packit |
95306a |
another separator, it is listed here:
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Not defined in this language
|
|
Packit |
95306a |
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=back
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=head1 KNOWN BUGS
|
|
Packit |
95306a |
|
|
Packit |
95306a |
None known.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=head1 BUGS AND QUESTIONS
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Please refer to the L<Date::Manip::Problems> documentation for
|
|
Packit |
95306a |
information on submitting bug reports or questions to the author.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=head1 SEE ALSO
|
|
Packit |
95306a |
|
|
Packit |
95306a |
L<Date::Manip> - main module documentation
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=head1 LICENSE
|
|
Packit |
95306a |
|
|
Packit |
95306a |
This script is free software; you can redistribute it and/or
|
|
Packit |
95306a |
modify it under the same terms as Perl itself.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=head1 AUTHOR
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Sullivan Beck (sbeck@cpan.org)
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=cut
|