Lines Matching refs:Date
7 d = Date.jd
13 d2 = Date.jd
18 d = Date.jd(0)
35 d = Date.ordinal
41 d2 = Date.ordinal
46 d = Date.ordinal(-4712,1)
49 d = Date.ordinal(-4712,1.0)
61 d = Date.ordinal(-1,-1)
71 Date.ordinal(2001,366)
79 d = Date.civil
85 d2 = Date.civil
90 d = Date.civil(-4712,1,1)
93 d = Date.civil(-4712,1,1.0)
120 d = Date.civil(-1,-1,-1)
130 Date.civil(2001,2,29)
141 d = Date.jd(Date::ENGLAND, Date::ENGLAND)
142 dt = DateTime.jd(Date::ENGLAND, 0,0,0,0, Date::ENGLAND)
150 d = Date.jd(Date::ITALY, Date::ITALY)
151 dt = DateTime.jd(Date::ITALY, 0,0,0,0, Date::ITALY)
161 d = Date.commercial
167 d2 = Date.commercial
172 d = Date.commercial(1582,40,5)
175 d = Date.commercial(1582,40,5.0)
187 d = Date.commercial(1998,-1,-1)
197 Date.commercial(1997,53,1)
205 skip unless Date.respond_to?(:weeknum, true)
206 d = Date.__send__(:weeknum)
212 d = Date.__send__(:weeknum, 2002,11,4, 0)
220 Date.__send__(:weeknum, 1999,53,0, 0)
223 Date.__send__(:weeknum, 1999,-53,-1, 0)
228 skip unless Date.respond_to?(:nth_kday, true)
229 d = Date.__send__(:nth_kday)
235 d = Date.__send__(:nth_kday, 1992,2, 5,6)
243 Date.__send__(:nth_kday, 2006,5, 5,0)
246 Date.__send__(:nth_kday, 2006,5, -5,0)
252 d = Date.today
262 assert_equal(false, Date.respond_to?(:now))