From 4ccffd21c93d5769218c857642ab3b1ca599ea6f Mon Sep 17 00:00:00 2001 From: CGantert345 <57003061+CGantert345@users.noreply.github.com> Date: Mon, 3 Jul 2023 11:32:37 +0200 Subject: bug fix customer card v1 --- misc/uicRailTicketData_v3.0.3.asn | 2 +- src/main/java/org/uic/barcode/ticket/api/asn/omv1/CustomerCardData.java | 2 +- 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) -- cgit v1.2.3