diff --git a/fints4k/src/iosMain/kotlin/net/dankito/banking/fints/mapper/DateFormatter.kt b/fints4k/src/iosMain/kotlin/net/dankito/banking/fints/mapper/DateFormatter.kt index cd106eb9..1b2e7f10 100644 --- a/fints4k/src/iosMain/kotlin/net/dankito/banking/fints/mapper/DateFormatter.kt +++ b/fints4k/src/iosMain/kotlin/net/dankito/banking/fints/mapper/DateFormatter.kt @@ -1,17 +1,17 @@ -package net.dankito.banking.fints.mapper - -import kotlinx.datetime.LocalDate -import kotlinx.datetime.TimeZone - -actual class DateFormatter actual constructor(val pattern: String): NSDateFormatter() { - - - actual fun parseDate(dateString: String): LocalDate? { - this.dateFromString(dateString)?.let { nsDate -> - return nsDate.toKotlinInstant().toLocalDateTime(TimeZone.Companion.currentSystemDefault())?.date - } - - return null - } - -} \ No newline at end of file +//package net.dankito.banking.fints.mapper +// +//import kotlinx.datetime.LocalDate +//import kotlinx.datetime.TimeZone +// +//actual class DateFormatter actual constructor(val pattern: String): NSDateFormatter() { +// +// +// actual fun parseDate(dateString: String): LocalDate? { +// this.dateFromString(dateString)?.let { nsDate -> +// return nsDate.toKotlinInstant().toLocalDateTime(TimeZone.Companion.currentSystemDefault())?.date +// } +// +// return null +// } +// +//} \ No newline at end of file