Lines Matching refs:Date
17 # * various formats handled by Date._parse
18 # * custom formats handled by Date._strptime
40 # Date.parse("2010-10-31") #=> 2010-10-31 00:00:00 -0500
48 # object that responds to #mon, #day and #year, such as Date, Time or DateTime.
59 # d = Date.parse("2010-10-28")
270 # Parses +date+ using Date._parse and converts it to a Time object.
310 # ArgumentError is raised if Date._parse cannot extract information from
325 d = Date._parse(date, comp)
335 # Parses +date+ using Date._strptime and converts it to a Time object.
351 # %D :: Date (%m/%d/%y)
393 d = Date._strptime(date, format)