calendar.1 (15714) | calendar.1 (15720) |
---|---|
1.\" Copyright (c) 1989, 1990, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 61 unchanged lines hidden (view full) --- 70use 71.Pa calendarfile 72as default calendar file. 73 74.El 75.Pp 76To handle calendars in your national code table you can specify 77.Dq LANG=<locale_name> | 1.\" Copyright (c) 1989, 1990, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 61 unchanged lines hidden (view full) --- 70use 71.Pa calendarfile 72as default calendar file. 73 74.El 75.Pp 76To handle calendars in your national code table you can specify 77.Dq LANG=<locale_name> |
78in the calendar file as early as possible. | 78in the calendar file as early as possible. To handle national Easter 79names 80.Dq Easter=<national_name> 81(for Catholic Easter) or 82.Dq Paskha=<national_name> 83(for Orthodox Easter) can be used. |
79.Pp | 84.Pp |
80Lines should begin with a month and day. | 85Other lines should begin with a month and day. |
81They may be entered in almost any format, either numeric or as character 82strings. 83A single asterisk (``*'') matches every month. 84A day without a month matches that day of every week. 85A month without a day matches the first of that month. 86Two numbers default to the month followed by the day. 87Lines with leading tabs default to the last entered date, allowing 88multiple line specifications for a single date. --- 19 unchanged lines hidden (view full) --- 108.Pa /usr/share/calendar . 109Empty lines and lines protected by the C commenting syntax 110.Pq Li /* ... */ 111are ignored. 112.Pp 113Some possible calendar entries: 114.Bd -unfilled -offset indent 115LANG=C | 86They may be entered in almost any format, either numeric or as character 87strings. 88A single asterisk (``*'') matches every month. 89A day without a month matches that day of every week. 90A month without a day matches the first of that month. 91Two numbers default to the month followed by the day. 92Lines with leading tabs default to the last entered date, allowing 93multiple line specifications for a single date. --- 19 unchanged lines hidden (view full) --- 113.Pa /usr/share/calendar . 114Empty lines and lines protected by the C commenting syntax 115.Pq Li /* ... */ 116are ignored. 117.Pp 118Some possible calendar entries: 119.Bd -unfilled -offset indent 120LANG=C |
121Easter=Oster 122 |
|
116#include <calendar.usholiday> 117#include <calendar.birthday> 118 1196/15 ... June 15 (if ambiguous, will default to month/day). 120Jun. 15 ... June 15. 12115 June ... June 15. 122Thursday ... Every Thursday. 123June ... Every June 1st. --- 83 unchanged lines hidden --- | 123#include <calendar.usholiday> 124#include <calendar.birthday> 125 1266/15 ... June 15 (if ambiguous, will default to month/day). 127Jun. 15 ... June 15. 12815 June ... June 15. 129Thursday ... Every Thursday. 130June ... Every June 1st. --- 83 unchanged lines hidden --- |