# File lib/date.rb, line 1197 def self.commercial(y=1582, w=41, d=5, h=0, min=0, s=0, of=0, sg=ITALY) unless (jd = valid_commercial?(y, w, d, sg)) and (fr = valid_time?(h, min, s)) raise ArgumentError, 'invalid date' end new0(jd_to_ajd(jd, fr, of), of, sg) end