parseDate

Returns a Date object parsed from a BrazeDateFormat formatted date string.

See formatDate.

Return

Date object parsed from the dateString or null if the input date string is invalid or an error occurs.

Parameters

dateFormat

the date format pattern of dateString

Throws

if string cannot be parsed