Searched refs:hour (Results 1 - 25 of 315) sorted by relevance

1234567891011>>

/macosx-10.10/top-100.1.2/
H A Dtimestat.c32 unsigned int usec, sec, min, hour, day; local
44 hour = min / 60;
45 day = hour / 24;
49 } else if(hour < 100) {
50 snprintf(buf, sizeof(buf), "%02u:%02u:%02u", hour, min % 60, sec % 60);
52 snprintf(buf, sizeof(buf), "%u hrs", hour);
60 } else if(hour < 24) {
61 snprintf(buf, sizeof(buf), "%uh%02um", hour, min - hour * 60);
63 snprintf(buf, sizeof(buf), "%ud%02uh", day, hour
[all...]
/macosx-10.10/CPANInternal-159.1/Perl4-CoreLibs-0.003/lib/
H A Dctime.pl35 local($sec, $min, $hour, $mday, $mon, $year, $wday, $yday, $isdst);
42 ($sec, $min, $hour, $mday, $mon, $year, $wday, $yday, $isdst) =
56 $DoW[$wday], $MoY[$mon], $mday, $hour, $min, $sec, $TZ, $year);
/macosx-10.10/ruby-106/ruby/
H A Dtimev.h8 int hour; /* 0..23 */ member in struct:vtm
/macosx-10.10/ICU-531.30/icuSources/test/compat/
H A Dtzone.pl8 print "Usage: tzone [year month day hour minute]\n";
21 my $hour = 0;
26 ($year, $month, $day, $hour, $minute) = @ARGV;
27 print "The date we are using is: $month-$day-$year $hour:$minute.\n";
52 my @result = `./tzdate $year $month $day $hour $minute $USECURRENT`;
H A Dtzdate.c32 int64_t getSystemCurrentTime(char* systime, int year, int month, int day, int hour, int minute, int useCurrentTime);
39 int year, month, day, hour, minute; local
54 hour = atoi(argv[4]);
61 systemtime = getSystemCurrentTime(systime, sysyear, month, day, hour, minute, useCurrentTime);
109 int64_t getSystemCurrentTime(char* systime, int year, int month, int day, int hour, int minute, int useCurrentTime) { argument
122 ts.tm_hour = hour;
/macosx-10.10/ruby-106/ruby/lib/xmlrpc/
H A Ddatetime.rb20 attr_reader :year, :month, :day, :hour, :min, :sec
50 def hour= (value)
52 @hour = value
79 # +hour+, +min+, +sec+ as time.
83 def initialize(year, month, day, hour, min, sec)
85 self.hour, self.min, self.sec = hour, min, sec
110 # Returns +[year, month, day, hour, min, sec]+.
112 [@year, @month, @day, @hour, @min, @sec]
/macosx-10.10/CPANInternal-159.1/DateTime-Format-W3CDTF-0.06/t/
H A D02bugs.t22 year => 1977, month => 11, day => 11, hour => 1, minute => 12,
36 year => 2003, month => 4, day => 7, hour => 2,
43 year => 2003, month => 12, day => 25, hour => 0, minute => 00,
/macosx-10.10/ntp-92/libntp/
H A Dcalyearstart.c33 + (ntp_u_int32_t)jt.hour * MINSPERHR * SECSPERMIN
46 jt.hour = 0;
/macosx-10.10/ruby-106/ruby/lib/
H A Dtime.rb91 # A hash of timezones mapped to hour differences from UTC. The
119 # simpler hour-only time zones like <code>-10</code> or
188 def apply_offset(year, mon, day, hour, min, sec, off)
196 if o != 0 then hour += o; o, hour = hour.divmod(24); off += o end
214 if o != 0 then hour -= o; o, hour = hour.divmod(24); off -= o end
227 return year, mon, day, hour, mi
[all...]
/macosx-10.10/pyobjc-45/2.5/pyobjc/pyobjc-framework-Cocoa/Examples/AppKit/Todo/
H A DToDoItem.py171 def ConvertTimeToSeconds(hour, minute, pm):
172 if hour == 12:
173 hour = 0
176 hour += 12
178 return (hour * SECS_IN_HOUR) + (minute * SECS_IN_MINUTE)
183 hour = secs / SECS_IN_HOUR
184 if hour > 11:
185 hour -= 12
188 if hour == 0:
189 hour
[all...]
/macosx-10.10/pyobjc-45/2.6/pyobjc/pyobjc-framework-Cocoa/Examples/AppKit/Todo/
H A DToDoItem.py171 def ConvertTimeToSeconds(hour, minute, pm):
172 if hour == 12:
173 hour = 0
176 hour += 12
178 return (hour * SECS_IN_HOUR) + (minute * SECS_IN_MINUTE)
183 hour = secs / SECS_IN_HOUR
184 if hour > 11:
185 hour -= 12
188 if hour == 0:
189 hour
[all...]
/macosx-10.10/pyobjc-45/pyobjc/pyobjc-framework-Cocoa-2.5.1/Examples/AppKit/Todo/
H A DToDoItem.py171 def ConvertTimeToSeconds(hour, minute, pm):
172 if hour == 12:
173 hour = 0
176 hour += 12
178 return (hour * SECS_IN_HOUR) + (minute * SECS_IN_MINUTE)
183 hour = secs / SECS_IN_HOUR
184 if hour > 11:
185 hour -= 12
188 if hour == 0:
189 hour
[all...]
/macosx-10.10/tcl-105/tcl_ext/incrtcl/iwidgets/generic/
H A Dspintime.itk102 itk_component add hour {
103 iwidgets::Spinint $itk_interior.hour -fixed 2 -range {0 23} -justify right
116 bind [$itk_component(hour) component entry] <1> {break}
117 bind [$itk_component(hour) component entry] <Button1-Motion> {break}
204 $itk_component(hour) configure -labelpos n
211 $itk_component(hour) configure -labelmargin 1
217 $itk_component(hour) configure -labelpos s
224 $itk_component(hour) configure -labelmargin 1
230 $itk_component(hour) configure -labelpos w
236 $itk_component(hour) configur
[all...]
H A Dwatch.itk135 set _radius(hour) 1
139 set _theta(hour) 30
143 set _extent(hour) 14
147 set _timeVar(hour) 12
212 # Create the canvas items for displaying the hour, minute, and second hands
217 watch create arc 1 1 1 1 -extent 30 -tags hour
222 # the hour, minute, and second hands will pivot.
263 if {$tag == "hour" && $_timeVar(hour) == 0} {
303 $_timeVar(hour)
[all...]
/macosx-10.10/JavaScriptCore-7600.1.17/API/tests/
H A DDateTests.mm57 int hour = [[jsNow invokeMethod:@"getHours" withArguments:@[]] toInt32];
64 && hour == [components hour]
82 int hour = [[jsDate invokeMethod:@"getHours" withArguments:@[]] toInt32];
89 && hour == [components hour]
108 int hour = [[roundTripThroughJS invokeMethod:@"getHours" withArguments:@[]] toInt32];
115 && hour == [components hour]
/macosx-10.10/ruby-106/ruby/test/date/
H A Dtest_date_new.rb11 assert_equal([0, 0, 0], [dt.hour, dt.min, dt.sec])
22 [d.year, d.mon, d.mday, d.hour, d.min, d.sec, d.offset])
25 [d.year, d.mon, d.mday, d.hour, d.min, d.sec, d.offset])
39 assert_equal([0, 0, 0], [dt.hour, dt.min, dt.sec])
54 [d.year, d.mon, d.mday, d.hour, d.min, d.sec, d.offset])
57 [d.year, d.mon, d.mday, d.hour, d.min, d.sec, d.offset])
66 [d.year, d.yday, d.hour, d.min, d.sec, d.offset])
83 assert_equal([0, 0, 0], [dt.hour, dt.min, dt.sec])
98 [d.year, d.mon, d.mday, d.hour, d.min, d.sec, d.offset])
101 [d.year, d.mon, d.mday, d.hour,
[all...]
H A Dtest_date_conv.rb18 [t2.year, t2.mon, t2.mday, t2.hour, t2.min, t2.sec, t2.usec])
23 [t2.year, t2.mon, t2.mday, t2.hour, t2.min, t2.sec, t2.usec])
30 [t.year, t.mon, t.mday, t.hour, t.min, t.sec, t.usec])
38 [t.year, t.mon, t.mday, t.hour, t.min, t.sec, t.usec])
44 [t.year, t.mon, t.mday, t.hour, t.min, t.sec, t.usec])
50 [t.year, t.mon, t.mday, t.hour, t.min, t.sec, t.nsec])
57 [t.year, t.mon, t.mday, t.hour, t.min, t.sec, t.subsec])
94 [d.year, d.mon, d.mday, d.hour, d.min, d.sec,
102 [d.year, d.mon, d.mday, d.hour, d.min, d.sec,
115 [d2.year, d2.mon, d2.mday, d2.hour, d
[all...]
H A Dtest_date_parse.rb426 a = h.values_at(:year,:mon,:mday,:hour,:min,:sec,:zone,:offset,:wday)
467 a = h.values_at(:year,:mon,:mday,:hour,:min,:sec,:zone,:offset,:wday)
478 assert_equal([22, 45, 59, 5.to_r/10**1], h.values_at(:hour, :min, :sec, :sec_fraction))
480 assert_equal([22, 45, 59, 5.to_r/10**2], h.values_at(:hour, :min, :sec, :sec_fraction))
482 assert_equal([22, 45, 59, 5.to_r/10**3], h.values_at(:hour, :min, :sec, :sec_fraction))
484 assert_equal([22, 45, 59, 123.to_r/10**4], h.values_at(:hour, :min, :sec, :sec_fraction))
487 assert_equal([22, 45, 59, 5.to_r/10**1], h.values_at(:hour, :min, :sec, :sec_fraction))
489 assert_equal([22, 45, 59, 5.to_r/10**2], h.values_at(:hour, :min, :sec, :sec_fraction))
491 assert_equal([22, 45, 59, 5.to_r/10**3], h.values_at(:hour, :min, :sec, :sec_fraction))
493 assert_equal([22, 45, 59, 123.to_r/10**4], h.values_at(:hour,
[all...]
/macosx-10.10/CPANInternal-159.1/Crypt-SSLeay-0.64/lib/Crypt/SSLeay/
H A DX509.pm18 my($year, $month, $day, $hour, $minute, $second, $GMT)=
21 my $time="$year-$month-$day $hour:$minute:$second";
/macosx-10.10/ruby-106/ruby/test/psych/
H A Dhelper.rb44 def mktime( year, mon, day, hour, min, sec, usec, zone = "Z" )
46 val = Time::utc( year.to_i, mon.to_i, day.to_i, hour.to_i, min.to_i, sec.to_i, usec )
48 hour = zone[0,3].to_i * 3600
50 ofs = (hour + min)
/macosx-10.10/WebCore-7600.1.25/platform/
H A DDateComponents.cpp167 static bool withinHTMLDateLimits(int year, int month, int monthDay, int hour, int minute, int second, int millisecond) argument
180 return !hour && !minute && !second && !millisecond;
260 int hour = m_hour + carry; local
261 if (hour > 23) {
262 carry = hour / 24;
263 hour = hour % 24;
264 } else if (hour < 0) {
265 carry = (23 - hour) / 24;
266 hour
305 int hour; local
408 int hour; local
[all...]
/macosx-10.10/ruby-106/ruby/lib/rss/
H A Ditunes.rb294 def construct(hour, minute, second)
299 components.unshift(hour) if hour and hour > 0
311 attr_reader :hour, :minute, :second
324 "(hour, minute, second) or ([hour, minute, second]): " +
327 @second, @minute, @hour = args.reverse
340 @hour, @minute, @second = self.class.parse(value, @do_validate)
349 def hour
[all...]
/macosx-10.10/tcl-105/tcl_ext/tclx/tclx/tests/compat/
H A Dclock.test117 foreach hour {01 02 03 04 05 06 07 08 09 10 11 12} {
121 fmtclock [convertclock "1/1/72 $hour:$min:00 $med"] $fmt
122 } 0 "01/01/72 $hour:$min:00 $med"
125 fmtclock [convertclock "1/1/72 $hour:$min:00 $med" GMT] $fmt GMT
126 } 0 "01/01/72 $hour:$min:00 $med" {unixOnly}
/macosx-10.10/system_cmds-643.1.1/at.tproj/
H A Dparsetime.c94 { "hour", HOURS,0 }, /* hours ... */
388 int hour, minute = 0; local
391 hour = atoi(sc_token);
405 minute = hour%100;
408 hour = hour/100;
416 if (hour > 12)
420 if (hour != 12) /* 12:xx PM is 12:xx, not 24:xx */
421 hour += 12;
423 if (hour
[all...]
/macosx-10.10/Security-57031.1.35/Security/include/security_cdsa_utilities/
H A Dcssmdates.cpp43 hour = h; minute = min; second = sec;
145 int(greg.year), greg.month, greg.day, greg.hour, greg.minute, int(greg.second)))
166 int(greg.year), greg.month, greg.day, greg.hour, greg.minute, int(greg.second)))
187 int month, day, hour, minute;
190 &year, &month, &day, &hour, &minute, &second))
194 mTime = Gregorian((int)year, month, day, hour, minute, second);

Completed in 240 milliseconds

1234567891011>>