xref: /titanic_41/usr/src/man/man4/holidays.4 (revision c037192b037119c9fd354732fc29b38ce097d356)
te
Copyright (c) 2008, Sun Microsystems, Inc.
The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
HOLIDAYS 4 "Aug 18, 2008"
NAME
holidays - prime/nonprime table for the accounting system
SYNOPSIS

/etc/acct/holidays
DESCRIPTION

The /etc/acct/holidays file specifies prime time hours and holidays. Holidays and weekends are considered non-prime time hours.

/etc/acct/holidays is used by the accounting system.

All lines beginning with an * are comments.

The /etc/acct/holidays file consists of two sections. The first non-comment line defines the current year and the start time of prime and non-prime time hours, in the form of:

current_year prime_start non_prime_start

Specify prime_start and non_prime_start times in the range of 0000 to 2400.

The remaining non-comment lines define the holidays in the form of:

month/day company_holiday

Of these two fields, only the month/day is actually used by the accounting system programs.

The /etc/acct/holidays file must be updated every year.

EXAMPLES

Example 1 An Example of the /etc/acct/holidays File

The following is an example of the /etc/acct/holidays file:

* Prime/Nonprime Table for the accounting system
*
* Curr Prime Non-Prime
* Year Start Start
*
 1991 0830 1800
*
* only the first column (month/day) is significant.
*
* month/day Company Holiday
*
 1/1 New Years Day
 5/30 Memorial Day
 7/4 Indep. Day
 9/5 Labor Day
 11/24 Thanksgiving Day
 11/25 day after Thanksgiving
 12/25 Christmas
 12/26 day after Christmas
SEE ALSO

acct(1M)