summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCGantert345 <57003061+CGantert345@users.noreply.github.com>2023-07-03 11:32:37 +0200
committerCGantert345 <57003061+CGantert345@users.noreply.github.com>2023-07-03 11:32:37 +0200
commit4ccffd21c93d5769218c857642ab3b1ca599ea6f (patch)
tree4e764488e1cf4503cc99628f4d6b7e084c731293
parentBug fix on valid from year (diff)
downloadUIC-barcode-4ccffd21c93d5769218c857642ab3b1ca599ea6f.tar
UIC-barcode-4ccffd21c93d5769218c857642ab3b1ca599ea6f.tar.gz
UIC-barcode-4ccffd21c93d5769218c857642ab3b1ca599ea6f.tar.bz2
UIC-barcode-4ccffd21c93d5769218c857642ab3b1ca599ea6f.tar.lz
UIC-barcode-4ccffd21c93d5769218c857642ab3b1ca599ea6f.tar.xz
UIC-barcode-4ccffd21c93d5769218c857642ab3b1ca599ea6f.tar.zst
UIC-barcode-4ccffd21c93d5769218c857642ab3b1ca599ea6f.zip
-rw-r--r--misc/uicRailTicketData_v3.0.3.asn2
-rw-r--r--src/main/java/org/uic/barcode/ticket/api/asn/omv1/CustomerCardData.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/misc/uicRailTicketData_v3.0.3.asn b/misc/uicRailTicketData_v3.0.3.asn
index 7c920d8..4a6c101 100644
--- a/misc/uicRailTicketData_v3.0.3.asn
+++ b/misc/uicRailTicketData_v3.0.3.asn
@@ -14,7 +14,7 @@ ASN-Module-RailTicketData DEFINITIONS AUTOMATIC TAGS ::= BEGIN
-- ##############################################################################################
-- #
--- # version 3.0.2 - value 3 in the UIC bar code version element
+-- # version 3.0.3 - value 3 in the UIC bar code version element
-- # (see element 2 in U_FLEX record definition in leaflet 918.9)
-- # - country code for Kosovo
-- #
diff --git a/src/main/java/org/uic/barcode/ticket/api/asn/omv1/CustomerCardData.java b/src/main/java/org/uic/barcode/ticket/api/asn/omv1/CustomerCardData.java
index a1bcbae..0d8bdcd 100644
--- a/src/main/java/org/uic/barcode/ticket/api/asn/omv1/CustomerCardData.java
+++ b/src/main/java/org/uic/barcode/ticket/api/asn/omv1/CustomerCardData.java
@@ -54,7 +54,7 @@ public class CustomerCardData extends Object {
public Long validFromYear;
@FieldOrder(order = 4)
- @IntRange(minValue=0,maxValue=700)
+ @IntRange(minValue=0,maxValue=370)
@Asn1Optional public Long validFromDay;
@FieldOrder(order = 5)