Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ holidays(4) — DG/UX 4.30

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

acctcon(1M)

acctprc(1M)



     holidays(4)                DG/UX 4.30                 holidays(4)



     NAME
          holidays - accounting information used to distinguish
          between prime and non-prime days

     SYNOPSIS
          /usr/lib/acct/holidays

     DESCRIPTION
          The holidays file distinguishes between prime and non-prime
          time for the accounting system.  It divides weekdays into
          two pieces, and it divides the year into prime and non-prime
          days.  Weekends are always non-prime.  Additional company
          holidays can be specified as non-prime.

          Comment lines are denoted by an asterisk in column one.

          The first non-comment line contains three fields, separated
          by white space.  The first field is the four-digit current
          year.  The second field is the start of prime time,
          specified as four digits in the form hhmm (for hour and
          minute).  The third field is the start of non-prime time,
          specified in the same way.  The hours must be between 0 and
          23, inclusive, and the minutes must be between 0 and 59,
          inclusive.

          Subsequent lines define up to 20 non-prime days.  The first
          field is the day of year, where January 1 has the value 1.
          The second field is the calendar date.  The third field is
          the holiday name.

     EXAMPLE
          * Prime/Nonprime Table for UNIX Accounting System
          *
          * Curr  Prime   Non-Prime
          * Year  Start   Start
          *
            1989  0830    1700
          *
          * Day of        Calendar        Company
          * Year          Date            Holiday
          *
              2           Jan 2           New Year's Day Observed
            149           May 29          Memorial Day
            184           Jul 3           Day Before Independence Day
            185           Jul 4           Independence Day
            247           Sep 4           Labor Day
            327           Nov 23          Thanksgiving
            328           Nov 24          Day After Thanksgiving
            359           Dec 25          Christmas Day

     SEE ALSO
          acctcon(1M), acctprc(1M).



     Licensed material--property of copyright holder(s)         Page 1



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026