# File lib/date.rb, line 1172 def self.civil(y=-4712, m=1, d=1, h=0, min=0, s=0, of=0, sg=ITALY) unless (jd = valid_civil?(y, m, d, sg)) and (fr = valid_time?(h, min, s)) raise ArgumentError, 'invalid date' end new0(jd_to_ajd(jd, fr, of), of, sg) end