diff options
author | CGantert345 <57003061+CGantert345@users.noreply.github.com> | 2023-08-11 10:43:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-11 10:43:36 +0200 |
commit | 91c78a9c0dbb20ce141a0122267b4f6d367646ec (patch) | |
tree | 960657a9b89eee67f09cc4e23675996f7f902440 /src/main/java/org/uic/barcode/ticket/api/asn/omv3/CountermarkData.java | |
parent | Merge pull request #70 from UnionInternationalCheminsdeFer/1.4.3 (diff) | |
parent | version number update (diff) | |
download | UIC-barcode-1.4.4.tar UIC-barcode-1.4.4.tar.gz UIC-barcode-1.4.4.tar.bz2 UIC-barcode-1.4.4.tar.lz UIC-barcode-1.4.4.tar.xz UIC-barcode-1.4.4.tar.zst UIC-barcode-1.4.4.zip |
Diffstat (limited to '')
-rw-r--r-- | src/main/java/org/uic/barcode/ticket/api/asn/omv3/CountermarkData.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/org/uic/barcode/ticket/api/asn/omv3/CountermarkData.java b/src/main/java/org/uic/barcode/ticket/api/asn/omv3/CountermarkData.java index 797f003..d0ce93a 100644 --- a/src/main/java/org/uic/barcode/ticket/api/asn/omv3/CountermarkData.java +++ b/src/main/java/org/uic/barcode/ticket/api/asn/omv3/CountermarkData.java @@ -554,6 +554,10 @@ public class CountermarkData extends Object { return null;
}
+ if (this.getValidUntilTime() == null) {
+ this.validUntilTime = 1439L;
+ }
+
return DateTimeUtils.getDate(issuingDate, this.validFromDay + this.validUntilDay, this.validUntilTime);
|