File: Manip5.cnf

package info (click to toggle)
libdate-manip-perl 6.98-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 14,928 kB
  • sloc: perl: 222,846; sh: 54; ansic: 26; makefile: 8
file content (117 lines) | stat: -rw-r--r-- 3,497 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
################################
# CONFIG VARIABLES
################################
# See Date::Manip man page for a description of all config variables.

EraseHolidays		=
PersonalCnf		= Manip.cnf
PersonalCnfPath		= t:.
Language		= English
DateFormat		= US
TZ			= EST
ConvTZ			= EST
Internal		= 0
FirstDay		= 1
WorkWeekBeg		= 1
WorkWeekEnd		= 5
WorkDay24Hr		= 0
WorkDayBeg		= 08:00
WorkDayEnd		= 17:00
TomorrowFirst		= 1
DeltaSigns		= 0
Jan1Week1   		= 0
YYtoYYYY                = 89
UpdateCurrTZ            = 0
IntCharSet              = 0
#ForceDate		=

################################
# HOLIDAYS
################################
*HOLIDAY

# Make sure that the date part of every date can be followed by the year
# and be correctly parsed by ParseDate.

# The following holiday definitions are taken from pcal's config file.
# Some are commented out if these tend to be ordinary business days.

1/1				= New Year's Day
third Monday in Feb             = Presidents' Day
# 2/14                          = Valentine's Day
# 3/17                          = St. Patrick's Day
last Monday in May              = Memorial Day
# 6/14                          = Flag Day
7/4                             = Independence Day
1st Monday in Sep               = Labor Day
second Monday in Oct            = Columbus Day (observed)
# 10/31                         = Halloween
#second Mon in Nov               = Veterans' Day (observed)
fourth Thu in Nov               = Thanksgiving
# 12/24                         = Christmas Eve
12/25                           = Christmas
# 12/31                         = New Year's Eve

# You can also use recurrences.

1*0:0:0:0:0:0*EASTER		= Easter
1*11:0:11:0:0:0*CWD             = Veteran's Day (observed)
#1*0:0:0:0:0:0*EASTER,PD5	= Good Friday


# Other complex holidays (date + delta, date - delta)

# first Monday in Nov + 1 day   = Election day
# The Friday after Thanksgiving is an unnamed holiday some places
# fourth Thu in Nov + 1 day     =

# State specific holidays (set for Florida)

# Except AZ, NH, MT
3rd Monday in Jan		= Martin Luther King Day

# Alaska
#first Sat in March             = Iditarod starts

# Only for MA, ME
#3rd Monday in Apr              = Patriots' Day

# You can define specific holidays for specific years
# 1/5/1999                      = A one-year-only holiday
# 1st Monday in Sep 1998        = Another one.
6/2/1999			= A special test holiday for 1999

################################
# EVENTS
################################
*EVENTS

# These are events that occur over a range of time.  Useful for scheduling
# or calendar applications.

# Forms include
#  date          = event  # Sets an event lasting 1 day or 1 hour (if no time)

2000-02-01               = Event1
2000-05-01               = Event2
2000-04-01-12:00:00      = Event3

#  recur         = event  # Sets a recurring event lasting 1 day or 1 hour

1*01:0:10:0:0:0          = Recurring event 1 day long
1*02:0:10:12:0:0         = Recurring event 1 hour long

#  date0 ; date1 = event  # Sets an event lasting from date0 to date1 inclusive
#                           (i.e. if date1 doesn't contain a a time, it ends at
#                           midnight of that date)

2000-01-01 ; 2000-03-21  = Winter
2000-03-22 ; 2000-06-21  = Spring
2000-06-22 ; 2000-09-21  = Summer
2000-09-22 ; 2000-12-21  = Fall
2000-12-22 ; 2000-12-31  = Winter

#  recur ; delta = event  # Sets an event of this duration

1*03:0:10:12:0:0 ; 0:0:0:0:2:30:0 = Recurring event 2:30 long