toDate

fun String.toDate(format: String = "yyyy-MM-dd", locale: Locale = Locale.ROOT): Date(source)

Converts SDAI data with toDate.

Return

Result produced by toDate.

Author

Dmitriy Moroz

Parameters

format

format value consumed by the API.

locale

locale value consumed by the API.