RichUtils / pyxis.uzuki.live.richutilskt.utils / kotlin.String / parseDate

parseDate

@JvmOverloads fun String.parseDate(format: String? = "yyyy-MM-dd HH:mm:ss"): Date?

parsing date from String

Parameters

format - optional. default is yyyy-MM-dd HH:mm:ss (2017-06-02 19:20:00)

Return
Date object, Nullable