From 23469c74ceb60daf4508e4a3e4aa38d3fc4e179f Mon Sep 17 00:00:00 2001 From: dankito Date: Wed, 15 Jul 2020 22:23:12 +0200 Subject: [PATCH] Fixed variables setup --- .../dankito/banking/fints/transactions/mt940/Mt940Parser.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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")