diff options
author | CGantert345 <57003061+CGantert345@users.noreply.github.com> | 2022-05-18 14:16:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-18 14:16:25 +0200 |
commit | 8d8dd867eb793b3fa348bbc53a8df5df0f3383b9 (patch) | |
tree | 492b4af6de91b70afedfded6edb1d5bd398940d9 /src/main/java/org/uic/barcode/ticket/api/utils/Api2OpenAsnEncoderV3.java | |
parent | Merge pull request #47 from UnionInternationalCheminsdeFer/1.3.2 (diff) | |
parent | extending the valid until to 500 days (diff) | |
download | UIC-barcode-1.3.3.tar UIC-barcode-1.3.3.tar.gz UIC-barcode-1.3.3.tar.bz2 UIC-barcode-1.3.3.tar.lz UIC-barcode-1.3.3.tar.xz UIC-barcode-1.3.3.tar.zst UIC-barcode-1.3.3.zip |
Diffstat (limited to '')
-rw-r--r-- | src/main/java/org/uic/barcode/ticket/api/utils/Api2OpenAsnEncoderV3.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/uic/barcode/ticket/api/utils/Api2OpenAsnEncoderV3.java b/src/main/java/org/uic/barcode/ticket/api/utils/Api2OpenAsnEncoderV3.java index e3a6430..01bc209 100644 --- a/src/main/java/org/uic/barcode/ticket/api/utils/Api2OpenAsnEncoderV3.java +++ b/src/main/java/org/uic/barcode/ticket/api/utils/Api2OpenAsnEncoderV3.java @@ -1660,7 +1660,7 @@ public class Api2OpenAsnEncoderV3 implements Api2AsnEncoder { asnData.setNumberOfDaysOfTravel(UicEncoderUtils.getRestrictedInt(document.getNumberOfDaysOfTravel(), 1, 250));
asnData.setNumberOfPossibleTrips(UicEncoderUtils.getRestrictedInt(document.getNumberOfPossibleTrips(), 1, 250));
- asnData.setNumberOfValidityDays(UicEncoderUtils.getRestrictedInt(document.getNumberOfValidityDays(), 1, 370));
+ asnData.setNumberOfValidityDays(UicEncoderUtils.getRestrictedInt(document.getNumberOfValidityDays(), 1, 500));
asnData.setPassDescription(document.getPassDescription());
if (document.getPassType() > 0 ){
asnData.setPassType(new Long(document.getPassType()));
|