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/commercial-c.yaml |
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Create a new Date object for the Commercial Date specified by year <tt>y</tt>, week-of-year <tt>w</tt>, and day-of-week <tt>d</tt>. - !ruby/struct:SM::Flow::P body: Monday is day-of-week 1; Sunday is day-of-week 7. - !ruby/struct:SM::Flow::P body: <tt>w</tt> and <tt>d</tt> can be negative, in which case they count backwards from the end of the year and the end of the week respectively. No wraparound is performed, however, and invalid values cause an ArgumentError to be raised. - !ruby/struct:SM::Flow::P body: <tt>y</tt> defaults to 1582, <tt>w</tt> to 41, and <tt>d</tt> to 5, the Day of Calendar Reform for Italy and the Catholic countries. - !ruby/struct:SM::Flow::P body: <tt>sg</tt> specifies the Day of Calendar Reform. full_name: Date::commercial is_singleton: true name: commercial params: (y=1582, w=41, d=5, sg=ITALY) visibility: public