• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/ruby-106/ruby/ext/date/

Lines Matching refs:hour

139 #define f_hour(x) rb_funcall(x, rb_intern("hour"), 0)
246 /* hour is zero */
269 int hour;
348 (x)->hour = _hour;\
381 (x)->hour = 0;\
1176 x->c.df = df_local_to_utc(time_to_df(x->c.hour, x->c.min, x->c.sec),
1197 df_to_time(r, &x->c.hour, &x->c.min, &x->c.sec);
1242 time_to_df(x->c.hour, x->c.min, x->c.sec),
1904 return x->c.hour;
3705 set_hash("hour", h);
3733 sym("hour"),
3745 sym("hour"),
3754 sym("hour"),
3763 sym("hour"),
3770 sym("hour"),
3779 sym("hour"),
3788 sym("hour"),
3797 sym("hour"),
3806 sym("hour"),
3815 sym("hour"),
3950 if (NIL_P(ref_hash("hour")))
3951 set_hash("hour", INT2FIX(0));
5150 * d.hour -> fixnum
5152 * Returns the hour (0-23).
5154 * DateTime.new(2001,2,3,4,5,6).hour #=> 4
5331 x->c.hour = 0;
5541 dat->c.hour,
5599 dat->c.hour,
6584 x->c.hour, x->c.min, x->c.sec,
6866 * %H - Hour of the day, 24-hour clock, zero-padded (00..23)
6867 * %k - Hour of the day, 24-hour clock, blank-padded ( 0..23)
6868 * %I - Hour of the day, 12-hour clock, zero-padded (01..12)
6869 * %l - Hour of the day, 12-hour clock, blank-padded ( 1..12)
6873 * %M - Minute of the hour (00..59)
6885 * %z - Time zone as hour and minute offset from UTC (e.g. +0900)
6886 * %:z - hour and minute offset from UTC with a colon (e.g. +09:00)
6887 * %::z - hour, minute and second offset from UTC (e.g. +09:00:00)
6888 * %:::z - hour, minute and second offset from UTC
6930 * %r - 12-hour time (%I:%M:%S %p)
6931 * %R - 24-hour time (%H:%M)
6932 * %T - 24-hour time (%H:%M:%S)
6967 * %H => 08 Local time, reduced accuracy, specific hour
7274 * DateTime.jd([jd=0[, hour=0[, minute=0[, second=0[, offset=0[, start=Date::ITALY]]]]]]) -> datetime
7342 * DateTime.ordinal([year=-4712[, yday=1[, hour=0[, minute=0[, second=0[, offset=0[, start=Date::ITALY]]]]]]]) -> datetime
7417 * DateTime.civil([year=-4712[, month=1[, mday=1[, hour=0[, minute=0[, second=0[, offset=0[, start=Date::ITALY]]]]]]]]) -> datetime
7418 * DateTime.new([year=-4712[, month=1[, mday=1[, hour=0[, minute=0[, second=0[, offset=0[, start=Date::ITALY]]]]]]]]) -> datetime
7516 * DateTime.commercial([cwyear=-4712[, cweek=1[, cwday=1[, hour=0[, minute=0[, second=0[, offset=0[, start=Date::ITALY]]]]]]]]) -> datetime
7866 if (NIL_P(ref_hash("hour")))
7867 set_hash("hour", INT2FIX(0));
7887 if (!c_valid_time_p(NUM2INT(ref_hash("hour")),
8297 * %H - Hour of the day, 24-hour clock, zero-padded (00..23)
8298 * %k - Hour of the day, 24-hour clock, blank-padded ( 0..23)
8299 * %I - Hour of the day, 12-hour clock, zero-padded (01..12)
8300 * %l - Hour of the day, 12-hour clock, blank-padded ( 1..12)
8304 * %M - Minute of the hour (00..59)
8316 * %z - Time zone as hour and minute offset from UTC (e.g. +0900)
8317 * %:z - hour and minute offset from UTC with a colon (e.g. +09:00)
8318 * %::z - hour, minute and second offset from UTC (e.g. +09:00:00)
8319 * %:::z - hour, minute and second offset from UTC
8361 * %r - 12-hour time (%I:%M:%S %p)
8362 * %R - 24-hour time (%H:%M)
8363 * %T - 24-hour time (%H:%M:%S)
8398 * %H => 08 Local time, reduced accuracy, specific hour
8668 bdat->c.hour = 0;
9271 * A subclass of Date easily handles date, hour, minute, second and
9286 * The last element of day, hour, minute or senond can be
9315 * d.hour #=> 4
9502 rb_define_private_method(cDate, "hour", d_lite_hour, 0);
9620 f_public(cDateTime, "hour");