@JvmStatic fun parse(string: String, format: DateFormat): DateTime
Parses string in specified format and returns a DateTime instance.
Throws ParseException if the string cannot be parsed.