calendar.1 (14522) | calendar.1 (15714) |
---|---|
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. --- 59 unchanged lines hidden (view full) --- 68days (backward, past) 69.It Fl f Pa calendarfile 70use 71.Pa calendarfile 72as default calendar file. 73 74.El 75.Pp | 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. --- 59 unchanged lines hidden (view full) --- 68days (backward, past) 69.It Fl f Pa calendarfile 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. 79.Pp |
|
76Lines should begin with a month and day. 77They may be entered in almost any format, either numeric or as character 78strings. 79A single asterisk (``*'') matches every month. 80A day without a month matches that day of every week. 81A month without a day matches the first of that month. 82Two numbers default to the month followed by the day. 83Lines with leading tabs default to the last entered date, allowing 84multiple line specifications for a single date. 85``Easter'', may be followed by an positive or negative integer, is | 80Lines 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. 89``Easter'', may be followed by an positive or negative integer, is |
86Easter for this year. Weekdays may be followed by ``-4'' ... ``+5'' (aliases | 90Easter for this year. 91``Paskha'', may be followed by an positive or negative integer, is 92Orthodox Easter for this year. 93Weekdays may be followed by ``-4'' ... ``+5'' (aliases |
87last, first, second, third, fourth) for moving events like 88``the last Monday in April'' 89 90By convention, dates followed by an asterisk are not fixed, i.e., change 91from year to year. 92.Pp 93The ``calendar'' file is preprocessed by 94.Xr cpp 1 , --- 5 unchanged lines hidden (view full) --- 100directory 101.Pa /usr/share/calendar . 102Empty lines and lines protected by the C commenting syntax 103.Pq Li /* ... */ 104are ignored. 105.Pp 106Some possible calendar entries: 107.Bd -unfilled -offset indent | 94last, first, second, third, fourth) for moving events like 95``the last Monday in April'' 96 97By convention, dates followed by an asterisk are not fixed, i.e., change 98from year to year. 99.Pp 100The ``calendar'' file is preprocessed by 101.Xr cpp 1 , --- 5 unchanged lines hidden (view full) --- 107directory 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 |
|
108#include <calendar.usholiday> 109#include <calendar.birthday> 110 1116/15 ... June 15 (if ambiguous, will default to month/day). 112Jun. 15 ... June 15. 11315 June ... June 15. 114Thursday ... Every Thursday. 115June ... Every June 1st. 11615 * ... 15th of every month. 117 118May Sun+2 ... second Sunday in May (Muttertag) 11904/SunLast ... last Sunday in April, summer time in Europe 120Easter ... Easter 121Easter-2 ... Good Friday (2 days before Easter) | 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. 12415 * ... 15th of every month. 125 126May Sun+2 ... second Sunday in May (Muttertag) 12704/SunLast ... last Sunday in April, summer time in Europe 128Easter ... Easter 129Easter-2 ... Good Friday (2 days before Easter) |
130Paskha ... Orthodox Easter |
|
122 123.Ed 124.Sh FILES 125 126.Pp 127.Bl -tag -width calendar.christian -compact 128.It Pa calendar 129file in current directory --- 68 unchanged lines hidden --- | 131 132.Ed 133.Sh FILES 134 135.Pp 136.Bl -tag -width calendar.christian -compact 137.It Pa calendar 138file in current directory --- 68 unchanged lines hidden --- |