All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.dankito.utils.datetime.LocalDateExtensions.kt Maven / Gradle / Ivy

The newest version!
package net.dankito.utils.datetime

import java.time.LocalDate
import java.util.*


@JvmName("asNullableUtilDate")
fun LocalDate?.asUtilDate(): Date? {
    return DateConvertUtils.asUtilDate(this)
}

fun LocalDate.asUtilDate(): Date {
    return DateConvertUtils.asUtilDate(this)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy