diff --git a/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/transactions/mt940/Mt940Parser.kt b/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/transactions/mt940/Mt940Parser.kt index 127164e0..8a7848f9 100644 --- a/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/transactions/mt940/Mt940Parser.kt +++ b/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/transactions/mt940/Mt940Parser.kt @@ -47,9 +47,9 @@ open class Mt940Parser : IMt940Parser { const val ClosingBalanceCode = "62" - val DateFormat: DateFormat = DateFormat("yyMMdd") + val DateFormatter = DateFormatter("yyMMdd") - val CurrentYearTwoDigit = DateTime.now().yearInt + val CurrentYearTwoDigit = Date().year() - 2000 val CreditDebitCancellationRegex = Regex("C|D|RC|RD")