DateTimeParser extension

DateTime extension on String.

on

Methods

parseDate([String template = 'MM/dd/yyyy KK:mm a', String locale = 'en_US']) DateTime?
Creates a DateTime from this DateFormat.template string.
toColor() Color?
Returns a Color parsed from the contents of the String.