summaryrefslogtreecommitdiffstats
path: root/src/main/java
diff options
context:
space:
mode:
authorCGantert345 <57003061+CGantert345@users.noreply.github.com>2021-11-02 13:40:06 +0100
committerCGantert345 <57003061+CGantert345@users.noreply.github.com>2021-11-02 13:40:06 +0100
commit13d556ef9657fd8fca4f40f7265845c0cbc65088 (patch)
tree0d97e87c2490bf01381eab69418dd082ef8d12d2 /src/main/java
parentMerge pull request #31 from irrationalism/feature/android-backward-compatibility-regarding-StandardCharsets (diff)
downloadUIC-barcode-13d556ef9657fd8fca4f40f7265845c0cbc65088.tar
UIC-barcode-13d556ef9657fd8fca4f40f7265845c0cbc65088.tar.gz
UIC-barcode-13d556ef9657fd8fca4f40f7265845c0cbc65088.tar.bz2
UIC-barcode-13d556ef9657fd8fca4f40f7265845c0cbc65088.tar.lz
UIC-barcode-13d556ef9657fd8fca4f40f7265845c0cbc65088.tar.xz
UIC-barcode-13d556ef9657fd8fca4f40f7265845c0cbc65088.tar.zst
UIC-barcode-13d556ef9657fd8fca4f40f7265845c0cbc65088.zip
Diffstat (limited to '')
-rw-r--r--src/main/java/org/uic/barcode/ticket/api/asn/omv1/IssuingData.java2
-rw-r--r--src/main/java/org/uic/barcode/ticket/api/asn/omv2/IssuingData.java2
-rw-r--r--src/main/java/org/uic/barcode/ticket/api/asn/omv3/IssuingData.java2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/org/uic/barcode/ticket/api/asn/omv1/IssuingData.java b/src/main/java/org/uic/barcode/ticket/api/asn/omv1/IssuingData.java
index 5f0e345..5a150dc 100644
--- a/src/main/java/org/uic/barcode/ticket/api/asn/omv1/IssuingData.java
+++ b/src/main/java/org/uic/barcode/ticket/api/asn/omv1/IssuingData.java
@@ -326,7 +326,7 @@ public class IssuingData extends Object {
this.issuingYear = new Long( cal.get(Calendar.YEAR));
this.issuingDay = new Long (cal.get(Calendar.DAY_OF_YEAR));
int time = cal.get(Calendar.HOUR_OF_DAY) * 60 + cal.get(Calendar.MINUTE);
- if (time > 0) {
+ if (time >= 0) {
this.issuingTime = new Long (time );
}
diff --git a/src/main/java/org/uic/barcode/ticket/api/asn/omv2/IssuingData.java b/src/main/java/org/uic/barcode/ticket/api/asn/omv2/IssuingData.java
index 2491d79..74c516c 100644
--- a/src/main/java/org/uic/barcode/ticket/api/asn/omv2/IssuingData.java
+++ b/src/main/java/org/uic/barcode/ticket/api/asn/omv2/IssuingData.java
@@ -326,7 +326,7 @@ public class IssuingData extends Object {
this.issuingYear = new Long( cal.get(Calendar.YEAR));
this.issuingDay = new Long (cal.get(Calendar.DAY_OF_YEAR));
int time = cal.get(Calendar.HOUR_OF_DAY) * 60 + cal.get(Calendar.MINUTE);
- if (time > 0) {
+ if (time >= 0) {
this.issuingTime = new Long (time );
}
diff --git a/src/main/java/org/uic/barcode/ticket/api/asn/omv3/IssuingData.java b/src/main/java/org/uic/barcode/ticket/api/asn/omv3/IssuingData.java
index 537a42a..f8e8477 100644
--- a/src/main/java/org/uic/barcode/ticket/api/asn/omv3/IssuingData.java
+++ b/src/main/java/org/uic/barcode/ticket/api/asn/omv3/IssuingData.java
@@ -326,7 +326,7 @@ public class IssuingData extends Object {
this.issuingYear = new Long( cal.get(Calendar.YEAR));
this.issuingDay = new Long (cal.get(Calendar.DAY_OF_YEAR));
int time = cal.get(Calendar.HOUR_OF_DAY) * 60 + cal.get(Calendar.MINUTE);
- if (time > 0) {
+ if (time >= 0) {
this.issuingTime = new Long (time );
}