/freebsd/usr.bin/calendar/tests/ |
H A D | regress.sh | 2 CALENDAR_FILE="-f ${SRCDIR}/calendar.calibrate" 3 CALENDAR_BIN="calendar" 5 CALENDAR="${CALENDAR_BIN} ${CALENDAR_FILE}" 11 REGRESSION_TEST(`s1',`$CALENDAR -t 29.12.2006') 12 REGRESSION_TEST(`s2',`$CALENDAR -t 30.12.2006') 13 REGRESSION_TEST(`s3',`$CALENDAR -t 31.12.2006') 14 REGRESSION_TEST(`s4',`$CALENDAR -t 01.01.2007') 15 REGRESSION_TEST(`s5',`$CALENDAR -t 21.06.2015') 17 REGRESSION_TEST(`a1',`$CALENDAR -A 3 -t 28.12.2006') 18 REGRESSION_TEST(`a2',`$CALENDAR -A 3 -t 29.12.2006') [all …]
|
H A D | cond.sh | 2 CALENDAR_FILE="-f ${SRCDIR}/calendar.cond" 3 CALENDAR_BIN="calendar" 5 CALENDAR="${CALENDAR_BIN} ${CALENDAR_FILE}" 11 REGRESSION_TEST(`cond',`$CALENDAR -t 01.01.2020 -A 30')
|
H A D | comment.sh | 2 CALENDAR_FILE="-f ${SRCDIR}/calendar.comment" 3 CALENDAR_BIN="calendar" 5 CALENDAR="${CALENDAR_BIN} ${CALENDAR_FILE}" 11 REGRESSION_TEST(`comment',`$CALENDAR -t 01.01.2020 -A 30')
|
H A D | Makefile | 9 ${PACKAGE}FILES+= calendar.comment 13 ${PACKAGE}FILES+= calendar.cond 17 ${PACKAGE}FILES+= calendar.calibrate
|
/freebsd/usr.bin/calendar/ |
H A D | calendar.1 | 32 .Nm calendar 58 .Pa calendar 70 Process the ``calendar'' files for users found in 83 If this directory contains calendar information, 103 as the default calendar file. 130 in the calendar file as early as possible. 134 in the calendar file as early as possible. 160 in the calendar file. 224 white space to allow for URLs in calendar entries. 226 Some possible calendar entries (<tab> characters highlighted by [all …]
|
H A D | Makefile | 3 PROG= calendar 4 SRCS= calendar.c locale.c events.c dates.c parsedata.c io.c day.c \ 13 CALS= calendars/calendar.freebsd 14 CALSDIR= ${SHAREDIR}/calendar
|
H A D | io.c | 51 #include "calendar.h" 59 const char *calendarFile = "calendar"; /* default calendar file */ 60 static const char *calendarHomes[] = {".calendar", _PATH_INCLUDE_LOCAL, _PATH_INCLUDE}; /* HOME */ 169 warnx("can't open calendar file \"%s\"", file); in cal_fopen() 173 warnx("calendar data files now provided by calendar-data pkg."); in cal_fopen() 523 * Setting LANG in user's calendar was an old workaround in cal_parse() 524 * for 'calendar -a' being run with C locale to properly in cal_parse() 526 * Now that 'calendar -a' does fork with setusercontext(), in cal_parse() 646 /* open up calendar file */ in opencalin() 668 /* not reading all calendar files, just set output to stdout */ in opencalout() [all …]
|
H A D | ostern.c | 34 #include "calendar.h" 39 * This code is based on the Calendar FAQ's code for how to calculate 40 * easter is. This is the Gregorian calendar version. They refer to
|
/freebsd/lib/libcalendar/ |
H A D | Makefile | 1 LIB= calendar 3 SRCS= calendar.c easter.c 4 INCS= calendar.h 6 MAN= calendar.3 8 MLINKS= calendar.3 easterg.3 calendar.3 easterog.3 calendar.3 easteroj.3 \ 9 calendar.3 gdate.3 calendar.3 jdate.3 \ 10 calendar.3 ndaysg.3 calendar.3 ndaysj.3 \ 11 calendar.3 week.3 calendar.3 weekday.3
|
H A D | calendar.3 | 38 .Nd Calendar arithmetic for the Christian era 62 These functions provide calendar arithmetic for a large range of years, 79 assumes Gregorian Calendar (adopted by most western churches after 1582) and 89 is the date in Gregorian Calendar, whereas 91 returns the date in Julian Calendar. 131 assume Gregorian Calendar after October 4, 1582 and Julian Calendar before, 136 assume Julian Calendar throughout. 140 Julian Calendar says every year that is a multiple of four is a 142 The Gregorian Calendar excludes years that are multiples of 150 calendar by the end of the 16th century, whereas others stayed with [all …]
|
H A D | easter.c | 30 #include "calendar.h" 36 /* Compute Easter Sunday in Gregorian Calendar */ 55 /* Compute the Gregorian date of Easter Sunday in Julian Calendar */ 63 /* Compute the Julian date of Easter Sunday in Julian Calendar */ 71 /* Compute the day number of Easter Sunday in Julian Calendar */
|
H A D | calendar.c | 30 #include "calendar.h" 42 * Gregorian calendar. 52 /* The last day of Julian calendar, in internal and ndays representation */ 53 static int nswitch; /* The last day of Julian calendar */ 101 * The date is given according to Julian calendar. 126 * Compute the date according to the Gregorian calendar from the number of 154 * resynchronize the calendar with the earth's orbit. October 4th in gdate() 206 * Assume Julian calendar and adapt to Gregorian if necessary, i. e. in ndaysgi()
|
/freebsd/contrib/ntp/include/ |
H A D | ntp_calendar.h | 2 * ntp_calendar.h - definitions for the calendar time-of-day routine 11 /* gregorian calendar date */ 12 struct calendar { struct 22 typedef struct calendar TCivilDate; argument 23 typedef struct calendar const TcCivilDate; 25 /* ISO week calendar date */ 116 extern char * ntpcal_iso8601std(char*, size_t, struct calendar const*); 117 extern void caljulian (uint32_t, struct calendar *); 118 extern uint32_t caltontp (const struct calendar *); 133 ntpcal_get_build_date(struct calendar * /* jd */); [all …]
|
H A D | ntp_calgps.h | 2 * ntp_calgps.h - calendar for GPS/GNSS based clocks 20 /* GPS week calendar (extended weeks) 26 * calendar, which starts at 1980-01-06, to simplyfy some expressions. 55 * GPS week/sec calendar functions 94 * NTP day/sec calendar functions
|
/freebsd/usr.bin/ncal/ |
H A D | ncal.1 | 34 .Nd displays a calendar and the date of Easter 71 utility displays a simple calendar in traditional format and 84 Display Julian Calendar, if combined with the 86 option, display date of Easter according to the Julian Calendar. 111 Calendar as they are assumed by 116 Assume the switch from Julian to Gregorian Calendar at the date 124 Britain and her colonies switched to the Gregorian Calendar. 128 Display a calendar for the specified year. 162 display a calendar for 1989. 169 will display a calendar fo [all...] |
/freebsd/contrib/tzcode/ |
H A D | calendars | 12 Gregorian calendar adopted 1582-12-20. 13 French Revolutionary calendar used 1793-11-24 through 1805-12-31, 20 On 1929-10-01 the Soviet Union instituted an "Eternal Calendar" 23 Gregorian calendar while retaining the 6-day week; on 1940-06-27 it 37 still dated using the conventional, Gregorian calendar? 54 those unsightly calendar gaps :-), they simply decreed that the next leap 55 year after 1696 would be in 1744 - putting the whole country on a calendar 75 Subject: Re: Gregorian Calendar (was Re: Another FHC related question 82 Gregorian calendar: 122 1617 - duchy of Kurland (reverted to the Julian calendar in [all …]
|
H A D | newctime.3 | 141 into a calendar time value with the same encoding as that of the values 172 and the other components are set to represent the specified calendar time, 183 returns the specified calendar time. 184 If the calendar time cannot be represented, 195 returns, the calendar time could not be represented. 200 returns the difference between two calendar times,
|
/freebsd/contrib/tzdata/ |
H A D | calendars | 12 Gregorian calendar adopted 1582-12-20. 13 French Revolutionary calendar used 1793-11-24 through 1805-12-31, 20 On 1929-10-01 the Soviet Union instituted an "Eternal Calendar" 23 Gregorian calendar while retaining the 6-day week; on 1940-06-27 it 37 still dated using the conventional, Gregorian calendar? 54 those unsightly calendar gaps :-), they simply decreed that the next leap 55 year after 1696 would be in 1744 - putting the whole country on a calendar 75 Subject: Re: Gregorian Calendar (was Re: Another FHC related question 82 Gregorian calendar: 122 1617 - duchy of Kurland (reverted to the Julian calendar in [all …]
|
/freebsd/contrib/file/magic/Magdir/ |
H A D | misctools | 23 # emacs-28.1/test/lisp/calendar/icalendar-resources/import-real-world-2004-11-19.ics 25 # Note: called "Internet Calendar and Scheduling format" by DROID via PUID fmt/388 27 >>>&0 search/81 :2.0 iCalendar calendar 30 !:mime text/calendar 34 # iCalendar calendar without Free/Busy component 38 !:mime text/calendar 43 # iCalendar calendar without Free/Busy component and ALARM component 45 !:mime text/calendar 52 >>>&0 default x vCalendar calendar file 58 # emacs-28.1/test/lisp/calendar/icalendar-resources/import-with-timezone.ics [all …]
|
/freebsd/usr.bin/ncal/tests/ |
H A D | regress.sh | 20 # Regular calendar, Month days, No-highlight 22 # Backwards calendar, Month days, No-highlight 24 # Regular calendar, Julian days, No-highlight 26 # Backwards calendar, Julian days, No-highlight 33 # Regular calendar, Month days, No-highlight 36 # Backwards calendar, Month days, No-highlight 38 # Regular calendar, Julian days, No-highlight 41 # Backwards calendar, Julian days, No-highlight
|
/freebsd/usr.sbin/periodic/etc/daily/ |
H A D | 300.calendar | 4 # `calendar -a' needs to die. Why? Because it's a bad idea, particular 6 # output of `calendar' mailed to you, set up a cron job to do it, 21 echo "Running calendar:" 23 calendar -a && rc=0 || rc=3;;
|
/freebsd/contrib/dialog/samples/ |
H A D | calendar-stdout | 2 # $Id: calendar-stdout,v 1.8 2020/11/26 00:09:12 tom Exp $ 6 returntext=`$DIALOG --stdout --title "CALENDAR" "$@" --calendar "Please choose a date..." 0 0 7 7 1…
|
H A D | calendar | 2 # $Id: calendar,v 1.11 2020/11/26 00:09:12 tom Exp $ 7 returntext=`$DIALOG --title "CALENDAR" "$@" --calendar "Please choose a date..." 0 0 7 7 1981 2>&1 …
|
/freebsd/contrib/ntp/libntp/ |
H A D | caltontp.c | 15 * Add support for full calendar calculations. If the day-of-year is provided 17 * otherwise a full turn through the calendar calculations will be taken. 25 * Apart from that the calendar is perfectly capable of dealing with 37 const struct calendar *jt in caltontp()
|
H A D | ntp_calendar.c | 2 * ntp_calendar.c - calendar and helper functions 10 * Calendar algorithms thrive on the division operation, which is one of 43 * calculation steps in the whole calendar that potentially suffer from 265 struct calendar * jd in ntpcal_get_build_date() 346 * basic calendar stuff 353 * We use the proleptic Gregorian calendar, which is the Gregorian 354 * calendar extended in both directions ad infinitum. This totally 355 * disregards the fact that this calendar was invented in 1582, and 365 * The basic calculations for this calendar implementation deal with 377 * in the proleptic Gregorian calendar [all...] |