DateTimeParser
Constructors
Constructor
new DateTimeParser():
DateTimeParser
Returns
DateTimeParser
Methods
tryParse()
statictryParse(input,maxYearBehind?,maxYearTo?):string
Parameters
input
string
maxYearBehind?
number
maxYearTo?
number
Returns
string
convertToFormattedDateString()
staticconvertToFormattedDateString(input,format):string
Parameters
input
string
format
string
Returns
string
tryParseWithFormat()
statictryParseWithFormat(input,currentFormat,maxYearBehind?,maxYearTo?):string
Parameters
input
string
currentFormat
string
maxYearBehind?
number
maxYearTo?
number
Returns
string