diff options
author | CGantert345 <57003061+CGantert345@users.noreply.github.com> | 2021-11-02 13:40:06 +0100 |
---|---|---|
committer | CGantert345 <57003061+CGantert345@users.noreply.github.com> | 2021-11-02 13:40:06 +0100 |
commit | 13d556ef9657fd8fca4f40f7265845c0cbc65088 (patch) | |
tree | 0d97e87c2490bf01381eab69418dd082ef8d12d2 /src/main/java | |
parent | Merge pull request #31 from irrationalism/feature/android-backward-compatibility-regarding-StandardCharsets (diff) | |
download | UIC-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 '')
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 );
}
|