1holidays(4) File Formats holidays(4)
2
3
4
6 holidays - prime/nonprime table for the accounting system
7
9 /etc/acct/holidays
10
11
13 The /etc/acct/holidays file specifies prime time hours and holidays.
14 Holidays and weekends are considered non-prime time hours.
15
16
17 /etc/acct/holidays is used by the accounting system.
18
19
20 All lines beginning with an * are comments.
21
22
23 The /etc/acct/holidays file consists of two sections. The first non-
24 comment line defines the current year and the start time of prime and
25 non-prime time hours, in the form of:
26
27 current_year prime_start non_prime_start
28
29
30
31 Specify prime_start and non_prime_start times in the range of 0000 to
32 2400.
33
34
35 The remaining non-comment lines define the holidays in the form of:
36
37 month/day company_holiday
38
39
40
41 Of these two fields, only the month/day is actually used by the
42 accounting system programs.
43
44
45 The /etc/acct/holidays file must be updated every year.
46
48 Example 1 An Example of the /etc/acct/holidays File
49
50
51 The following is an example of the /etc/acct/holidays file:
52
53
54 * Prime/Nonprime Table for the accounting system
55 *
56 * Curr Prime Non-Prime
57 * Year Start Start
58 *
59 1991 0830 1800
60 *
61 * only the first column (month/day) is significant.
62 *
63 * month/day Company Holiday
64 *
65 1/1 New Years Day
66 5/30 Memorial Day
67 7/4 Indep. Day
68 9/5 Labor Day
69 11/24 Thanksgiving Day
70 11/25 day after Thanksgiving
71 12/25 Christmas
72 12/26 day after Christmas
73
74
76 acct(1M)
77
78
79
80SunOS 5.11 18 Aug 2008 holidays(4)