# File lib/date.rb, line 674 def self.strptime(str='-4712-01-01', fmt='%F', sg=ITALY) elem = _strptime(str, fmt) new_with_hash(elem, sg) end