Current Path : /usr/local/share/ri/1.8/system/Date/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/local/share/ri/1.8/system/Date/cdesc-Date.yaml |
--- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: _load - !ruby/object:RI::MethodSummary name: _parse - !ruby/object:RI::MethodSummary name: _strptime - !ruby/object:RI::MethodSummary name: ajd_to_amjd - !ruby/object:RI::MethodSummary name: ajd_to_jd - !ruby/object:RI::MethodSummary name: amjd_to_ajd - !ruby/object:RI::MethodSummary name: civil - !ruby/object:RI::MethodSummary name: civil_to_jd - !ruby/object:RI::MethodSummary name: commercial - !ruby/object:RI::MethodSummary name: commercial_to_jd - !ruby/object:RI::MethodSummary name: day_fraction_to_time - !ruby/object:RI::MethodSummary name: gregorian? - !ruby/object:RI::MethodSummary name: gregorian_leap? - !ruby/object:RI::MethodSummary name: jd - !ruby/object:RI::MethodSummary name: jd_to_ajd - !ruby/object:RI::MethodSummary name: jd_to_civil - !ruby/object:RI::MethodSummary name: jd_to_commercial - !ruby/object:RI::MethodSummary name: jd_to_ld - !ruby/object:RI::MethodSummary name: jd_to_mjd - !ruby/object:RI::MethodSummary name: jd_to_ordinal - !ruby/object:RI::MethodSummary name: jd_to_wday - !ruby/object:RI::MethodSummary name: julian? - !ruby/object:RI::MethodSummary name: julian_leap? - !ruby/object:RI::MethodSummary name: ld_to_jd - !ruby/object:RI::MethodSummary name: mjd_to_jd - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: now - !ruby/object:RI::MethodSummary name: ordinal - !ruby/object:RI::MethodSummary name: ordinal_to_jd - !ruby/object:RI::MethodSummary name: parse - !ruby/object:RI::MethodSummary name: s3e - !ruby/object:RI::MethodSummary name: strptime - !ruby/object:RI::MethodSummary name: time_to_day_fraction - !ruby/object:RI::MethodSummary name: time_to_day_fraction - !ruby/object:RI::MethodSummary name: today - !ruby/object:RI::MethodSummary name: valid_civil? - !ruby/object:RI::MethodSummary name: valid_commercial? - !ruby/object:RI::MethodSummary name: valid_jd? - !ruby/object:RI::MethodSummary name: valid_ordinal? - !ruby/object:RI::MethodSummary name: valid_time? comment: - !ruby/struct:SM::Flow::P body: Class representing a date. - !ruby/struct:SM::Flow::P body: See the documentation to the file date.rb for an overview. - !ruby/struct:SM::Flow::P body: Internally, the date is represented as an Astronomical Julian Day Number, <tt>ajd</tt>. The Day of Calendar Reform, <tt>sg</tt>, is also stored, for conversions to other date formats. (There is also an <tt>of</tt> field for a time zone offset, but this is only for the use of the DateTime subclass.) - !ruby/struct:SM::Flow::P body: A new Date object is created using one of the object creation class methods named after the corresponding date format, and the arguments appropriate to that date format; for instance, Date::civil() (aliased to Date::new()) with year, month, and day-of-month, or Date::ordinal() with year and day-of-year. All of these object creation class methods also take the Day of Calendar Reform as an optional argument. - !ruby/struct:SM::Flow::P body: Date objects are immutable once created. - !ruby/struct:SM::Flow::P body: "Once a Date has been created, date values can be retrieved for the different date formats supported using instance methods. For instance, #mon() gives the Civil month, #cwday() gives the Commercial day of the week, and #yday() gives the Ordinal day of the year. Date values can be retrieved in any format, regardless of what format was used to create the Date instance." - !ruby/struct:SM::Flow::P body: The Date class includes the Comparable module, allowing date objects to be compared and sorted, ranges of dates to be created, and so forth. constants: - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: Full month names, in English. Months count from 1 to 12; a month's numerical representation indexed into this array gives the name of that month (hence the first element is nil). name: MONTHNAMES value: "[nil] + %w(January February March April May June July August September October November December)" - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: Full names of days of the week, in English. Days of the week count from 0 to 6 (except in the commercial week); a day's numerical representation indexed into this array gives the name of that day. name: DAYNAMES value: "%w(Sunday Monday Tuesday Wednesday Thursday Friday Saturday)" - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: Abbreviated month names, in English. name: ABBR_MONTHNAMES value: "[nil] + %w(Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec)" - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: Abbreviated day names, in English. name: ABBR_DAYNAMES value: "%w(Sun Mon Tue Wed Thu Fri Sat)" - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: The Julian Day Number of the Day of Calendar Reform for Italy and the Catholic countries. name: ITALY value: "2299161" - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: The Julian Day Number of the Day of Calendar Reform for England and her Colonies. name: ENGLAND value: "2361222" - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: A constant used to indicate that a Date should always use the Julian calendar. name: JULIAN value: Infinity.new - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: A constant used to indicate that a Date should always use the Gregorian calendar. name: GREGORIAN value: -Infinity.new full_name: Date includes: - !ruby/object:RI::IncludedModule name: Comparable instance_methods: - !ruby/object:RI::MethodSummary name: + - !ruby/object:RI::MethodSummary name: "-" - !ruby/object:RI::MethodSummary name: "<<" - !ruby/object:RI::MethodSummary name: <=> - !ruby/object:RI::MethodSummary name: === - !ruby/object:RI::MethodSummary name: ">>" - !ruby/object:RI::MethodSummary name: _dump - !ruby/object:RI::MethodSummary name: ajd - !ruby/object:RI::MethodSummary name: amjd - !ruby/object:RI::MethodSummary name: asctime - !ruby/object:RI::MethodSummary name: civil - !ruby/object:RI::MethodSummary name: commercial - !ruby/object:RI::MethodSummary name: ctime - !ruby/object:RI::MethodSummary name: cwday - !ruby/object:RI::MethodSummary name: cweek - !ruby/object:RI::MethodSummary name: cwyear - !ruby/object:RI::MethodSummary name: day - !ruby/object:RI::MethodSummary name: day_fraction - !ruby/object:RI::MethodSummary name: downto - !ruby/object:RI::MethodSummary name: england - !ruby/object:RI::MethodSummary name: eql? - !ruby/object:RI::MethodSummary name: gregorian - !ruby/object:RI::MethodSummary name: gregorian? - !ruby/object:RI::MethodSummary name: hash - !ruby/object:RI::MethodSummary name: hour - !ruby/object:RI::MethodSummary name: inspect - !ruby/object:RI::MethodSummary name: italy - !ruby/object:RI::MethodSummary name: jd - !ruby/object:RI::MethodSummary name: julian - !ruby/object:RI::MethodSummary name: julian? - !ruby/object:RI::MethodSummary name: ld - !ruby/object:RI::MethodSummary name: leap? - !ruby/object:RI::MethodSummary name: mday - !ruby/object:RI::MethodSummary name: min - !ruby/object:RI::MethodSummary name: mjd - !ruby/object:RI::MethodSummary name: mon - !ruby/object:RI::MethodSummary name: month - !ruby/object:RI::MethodSummary name: new_offset - !ruby/object:RI::MethodSummary name: new_start - !ruby/object:RI::MethodSummary name: next - !ruby/object:RI::MethodSummary name: next_day - !ruby/object:RI::MethodSummary name: offset - !ruby/object:RI::MethodSummary name: ordinal - !ruby/object:RI::MethodSummary name: sec - !ruby/object:RI::MethodSummary name: sec_fraction - !ruby/object:RI::MethodSummary name: start - !ruby/object:RI::MethodSummary name: step - !ruby/object:RI::MethodSummary name: strftime - !ruby/object:RI::MethodSummary name: succ - !ruby/object:RI::MethodSummary name: time - !ruby/object:RI::MethodSummary name: to_s - !ruby/object:RI::MethodSummary name: to_yaml - !ruby/object:RI::MethodSummary name: upto - !ruby/object:RI::MethodSummary name: wday - !ruby/object:RI::MethodSummary name: weeknum0 - !ruby/object:RI::MethodSummary name: weeknum1 - !ruby/object:RI::MethodSummary name: wnum0 - !ruby/object:RI::MethodSummary name: wnum1 - !ruby/object:RI::MethodSummary name: yday - !ruby/object:RI::MethodSummary name: year - !ruby/object:RI::MethodSummary name: zone name: Date superclass: Object