Searched refs:date (Results 1 - 25 of 899) sorted by relevance

1234567891011>>

/macosx-10.10/misc_cmds-33/ncal/
H A Dcalendar.h28 struct date { struct
34 struct date *easterg(int _year, struct date *_dt);
35 struct date *easterog(int _year, struct date *_dt);
36 struct date *easteroj(int _year, struct date *_dt);
37 struct date *gdate(int _nd, struct date *_dt);
38 struct date *jdat
[all...]
H A Dcalendar.c38 * month. This assumes the internal date representation, where a year
50 typedef struct date date; typedef in typeref:struct:date
54 static date jiswitch = {1582, 7, 3};
56 static date *date2idt(date *idt, date *dt);
57 static date *idt2date(date *dt, date *id
[all...]
H A Deaster.c32 typedef struct date date; typedef in typeref:struct:date
37 date *
38 easterg(int y, date *dt)
55 /* Compute the Gregorian date of Easter Sunday in Julian Calendar */
56 date *
57 easterog(int y, date *dt)
63 /* Compute the Julian date of Easter Sunday in Julian Calendar */
64 date *
65 easteroj(int y, date * d
[all...]
/macosx-10.10/apr-32/apr-util/apr-util/misc/
H A Dapr_date.c18 * apr_date.c: date parsing utility routines
23 * tested with over 50,000 randomly chosen valid date strings
24 * and several hundred variations of invalid date strings.
99 * Parses an HTTP date in one of three standard forms:
106 * or APR_DATE_BAD if this would be out of range or if the date is invalid.
110 * HTTP-date = rfc1123-date | rfc850-date | asctime-date
112 * rfc1123-date
[all...]
/macosx-10.10/ntp-92/libntp/
H A Dclocktime.c2 * clocktime - compute the NTP date from a day of year, hour, minute
43 register u_long date; local
70 date = (u_long)(tmp + (long)yst);
71 if (date < (rec_ui + CLOSETIME) &&
72 date > (rec_ui - CLOSETIME)) {
73 *ts_ui = date;
83 date = (u_long)((long)yst + tmp);
84 *ts_ui = date;
85 if (date < (rec_ui + CLOSETIME) &&
86 date > (rec_u
[all...]
/macosx-10.10/tcl-105/tcl_ext/tcllib/tcllib/modules/calendar/
H A Dgregorian.tcl20 # Many of the routines in this file accept the name of a "date array"
22 # of a civil date. While few if any routines use or set all the fields,
72 # The following fields in a date array change the behavior of FISCAL_YEAR
92 # calendar prior to a certain date that varies with the locale, and
135 # on or before a given date (e.g., Sunday on or before January 2).
182 upvar 1 $dateVar date
183 switch -exact $date(ERA) {
185 return [expr { 1 - $date(YEAR) }]
188 return $date(YEAR)
191 return -code error "Unknown era \"$date(ER
[all...]
/macosx-10.10/pyobjc-45/2.5/pyobjc/pyobjc-core/PyObjCTest/
H A Dtest_nsdate_proxy.py6 # Test for proxied datetime.date and datetime.datetime objects,
15 date = datetime.date.today()
17 value = formatter.stringFromDate_(NSDate.date())
18 self.assertEquals(value, date.strftime('%Y-%m-%d'))
20 value = formatter.stringFromDate_(date)
21 self.assertEquals(value, date.strftime('%Y-%m-%d'))
30 date = datetime.datetime.now()
32 value = formatter.stringFromDate_(date)
33 self.assertEquals(value, date
[all...]
/macosx-10.10/pyobjc-45/2.6/pyobjc/pyobjc-core/PyObjCTest/
H A Dtest_nsdate_proxy.py6 # Test for proxied datetime.date and datetime.datetime objects,
15 date = datetime.date.today()
17 value = formatter.stringFromDate_(NSDate.date())
18 self.assertEquals(value, date.strftime('%Y-%m-%d'))
20 value = formatter.stringFromDate_(date)
21 self.assertEquals(value, date.strftime('%Y-%m-%d'))
30 date = datetime.datetime.now()
32 value = formatter.stringFromDate_(date)
33 self.assertEquals(value, date
[all...]
/macosx-10.10/pyobjc-45/pyobjc/pyobjc-core-2.5.1/PyObjCTest/
H A Dtest_nsdate_proxy.py6 # Test for proxied datetime.date and datetime.datetime objects,
15 date = datetime.date.today()
17 value = formatter.stringFromDate_(NSDate.date())
18 self.assertEqual(value, date.strftime('%Y-%m-%d'))
20 value = formatter.stringFromDate_(date)
21 self.assertEqual(value, date.strftime('%Y-%m-%d'))
30 date = datetime.datetime.now()
32 value = formatter.stringFromDate_(date)
33 self.assertEqual(value, date
[all...]
/macosx-10.10/apr-32/apr-util/apr-util/include/
H A Dapr_date.h22 * @brief APR-UTIL date routines
32 * apr_date.h: prototypes for date parsing utility routines
42 /** A bad date. */
63 * Parses an HTTP date in one of three standard forms:
69 * @param date The date in one of the three formats above
71 * 0 if this would be out of range or if the date is invalid.
73 APU_DECLARE(apr_time_t) apr_date_parse_http(const char *date);
76 * Parses a string resembling an RFC 822 date. This is meant to be
95 * @param date Th
[all...]
/macosx-10.10/tcl-105/tcl_ext/incrtcl/iwidgets/generic/
H A Ddatefield.itk4 # Implements a date entry field with adjustable built-in intelligence
59 public method show {{date now}}
94 # Create an entry field for entering the date.
96 itk_component add date {
97 entry $itk_interior.date -width 10
119 bind $itk_component(date) <FocusIn> [itcl::code $this _focusIn]
120 bind $itk_component(date) <KeyPress> [itcl::code $this _keyPress %A %K %s]
129 bind $itk_component(date) <Button1-Motion> break
130 bind $itk_component(date) <Button2-Motion> break
131 bind $itk_component(date) <Doubl
[all...]
/macosx-10.10/emacs-93/emacs/lisp/calendar/
H A Dcal-iso.el39 (defvar date) function
43 (defun calendar-absolute-from-iso (date)
44 "The number of days elapsed between the Gregorian date 12/31/1 BC and DATE.
50 Sunday). The Gregorian date Sunday, December 31, 1 BC is imaginary."
51 (let* ((week (extract-calendar-month date))
52 (day (extract-calendar-day date))
53 (year (extract-calendar-year date)))
59 (defun calendar-iso-from-absolute (date)
60 "Compute the `ISO commercial date' corresponding to the absolute DATE.
64 date ha
[all...]
H A Dcal-coptic.el39 (defvar date) function
48 "Absolute date of start of Coptic calendar = August 29, 284 A.D. (Julian).")
66 (defun calendar-absolute-from-coptic (date)
67 "Compute absolute date from Coptic date DATE.
68 The absolute date is the number of days elapsed since the (imaginary)
69 Gregorian date Sunday, December 31, 1 BC."
70 (let ((month (extract-calendar-month date))
71 (day (extract-calendar-day date))
72 (year (extract-calendar-year date)))
[all...]
H A Dcal-tex.el84 '(let* ((year (extract-calendar-year date))
85 (day (calendar-day-number date))
88 "*An expression in the variable `date' whose value is placed on date.
90 center of `date' on the monthly calendar, next to the date in the weekly
98 (calendar-hebrew-date-string date))
100 will put the Hebrew date at the bottom of each day."
218 "LaTeX code to insert one box with date inf
[all...]
/macosx-10.10/webdavfs-367/mount.tproj/
H A Dwebdav_utils.c33 * date/time bytes and returns time_t. If the parse fails, this function
45 /* parse the RFC 850, RFC 1123, and asctime formatted date/time CFString to get the Gregorian date */
49 /* copy the Gregorian date into struct tm */
69 * date/time CFString and returns time_t. If the parse fails, this function
80 /* parse the RFC 850, RFC 1123, and asctime formatted date/time CFString to get the Gregorian date */
84 /* copy the Gregorian date into struct tm */
130 const UInt8* CFGregorianDateCreateWithBytes(CFAllocatorRef alloc, const UInt8* bytes, CFIndex length, Date* date, CFTimeZoneRef* tz) { argument
138 memset(date,
411 CFGregorianDateCreateWithString(CFAllocatorRef alloc, CFStringRef str, Date* date, CFTimeZoneRef* tz) argument
443 DateIsValid(Date date) argument
[all...]
/macosx-10.10/CPANInternal-159.1/DateTime-Format-W3CDTF-0.06/t/
H A D02bugs.t21 date => {
28 date => {
35 date => {
42 date => {
49 date => {
59 my $dt = DateTime->new( %{ $d->{date} } );
/macosx-10.10/WebCore-7600.1.25/html/
H A DMonthInputType.cpp62 DateComponents date; local
63 if (!parseToDateComponents(element().value(), &date))
65 double msec = date.millisecondsSinceEpoch();
72 DateComponents date; local
73 if (!date.setMillisecondsSinceEpochForMonth(value))
75 return serializeWithComponents(date);
84 DateComponents date; local
85 date.setMillisecondsSinceEpochForMonth(current);
86 double months = date.monthsSinceEpoch();
104 DateComponents date; local
[all...]
/macosx-10.10/dtrace-147/test/tst/common/usdt/
H A Dtst.andpid.ksh28 dtrace -c date -s /dev/stdin <<EOF
/macosx-10.10/dtrace-147/test/tst/common/profile-n/
H A Dtst.func.ksh46 date=/bin/date
48 date=/usr/bin/date
54 $date > /dev/null
H A Dtst.mod.ksh48 $date > /dev/null
53 date=/bin/date
55 date=/usr/bin/date
H A Dtst.sym.ksh48 $date > /dev/null
53 date=/bin/date
55 date=/usr/bin/date
/macosx-10.10/tcl-105/tcl_ext/tcllib/tcllib/modules/doctools/
H A Dcvs.tcl54 "date:*" {
55 scan $line "date: %s %s author: %s" date time author
58 # read the comment lines following date
69 # Store this date/author/comment
70 lappend entries [list $date $author]
71 lappend comments($date,$author) $comment
72 lappend files($date,$author,$comment) $filename
107 # print the date/author
108 foreach {date autho
[all...]
/macosx-10.10/CPANInternal-159.1/Template-Toolkit-2.25/lib/Template/Plugin/
H A DDate.pm7 # Plugin to generate formatted date strings.
65 # Returns a formatted time/date string for the specified time, $time,
85 my (@date, $datestr);
90 @date = (gmtime($time))[0..6];
93 @date = (localtime($time))[0..6];
106 @date = @parts[reverse 0..5];
110 @date = @parts[2,1,0,3..5];
114 if (!@date) {
115 return (undef, Template::Exception->new('date',
116 "bad time/date strin
[all...]
/macosx-10.10/Security-57031.1.35/Security/regressions/test/
H A Dtestpolicy.h32 void runCertificateTestForDirectory(SecPolicyRef policy, CFStringRef resourceSubDirectory, CFDateRef date);
/macosx-10.10/curl-83.1.2/curl/lib/
H A Dparsedate.c23 A brief summary of the date string formats this parser groks:
44 1994 Nov 6 08:49:37 (GNU date fails)
46 94 6 Nov 08:49:37 (GNU date fails)
69 compact numerical date strings:
112 static int parsedate(const char *date, time_t *output);
260 static void skip(const char **date) argument
263 while(**date && !ISALNUM(**date))
264 (*date)++;
331 static int parsedate(const char *date, time_ argument
[all...]

Completed in 524 milliseconds

1234567891011>>