fun String.toDateFormat(timeZoneId: String? = null, locale: Locale? = Locale.getDefault()): DateFormat
Converts receiver to a DateFormat object, with optional timeZoneId and locale. |
|
fun String.toDateTime(format: DateFormat): DateTime
Calls DateTime.parse to parse a string in specified format. |