Gestionnaire de fichiers - Editer - /opt/cpanel/ea-ruby24/root/usr/share/ri/system/Date/new-c.ri
Arrière
U:RDoc::AnyMethod[iI"new:ETI"Date::new;TT:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"<Creates a date object denoting the given calendar date.;To:RDoc::Markup::BlankLine o; ; [ I"EIn this class, BCE years are counted astronomically. Thus, the ;TI"Iyear before the year 1 is the year zero, and the year preceding the ;TI"Iyear zero is the year -1. The month and the day of month should be ;TI"Ga negative or a positive number (as a relative month/day from the ;TI"@end of year/month when negative). They should not be zero.;T@o; ; [ I"GThe last argument should be a Julian day number which denotes the ;TI"@day of calendar reform. Date::ITALY (2299161=1582-10-15), ;TI"HDate::ENGLAND (2361222=1752-09-14), Date::GREGORIAN (the proleptic ;TI"@Gregorian calendar) and Date::JULIAN (the proleptic Julian ;TI"<calendar) can be specified as a day of calendar reform.;T@o:RDoc::Markup::Verbatim; [I";Date.new(2001) #=> #<Date: 2001-01-01 ...> ;TI";Date.new(2001,2,3) #=> #<Date: 2001-02-03 ...> ;TI";Date.new(2001,2,-1) #=> #<Date: 2001-02-28 ...> ;T:@format0o; ; [I"See also ::jd.;T: @fileI"ext/date/date_core.c;T:0@omit_headings_from_table_of_contents_below0I"QDate.new([year=-4712[, month=1[, mday=1[, start=Date::ITALY]]]]) -> date;T0[ I")(p1 = v1, p2 = v2, p3 = v3, p4 = v4);T@%FI" Date;TcRDoc::NormalClass00
| ver. 1.4 |
Github
|
.
| PHP 8.0.30 | Génération de la page: 0 |
proxy
|
phpinfo
|
Réglages