diff --git a/pom.xml b/pom.xml index 3f5de1e..7de8d04 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ de.tsenger vdstools - 0.3.2 + 0.4.0 VDS Tools java library A library to parse, verify and build/encode Visible Digital Seals (VDS) jar diff --git a/src/main/java/de/tsenger/vdstools/DataEncoder.java b/src/main/java/de/tsenger/vdstools/DataEncoder.java index 5d11d61..e28f56d 100644 --- a/src/main/java/de/tsenger/vdstools/DataEncoder.java +++ b/src/main/java/de/tsenger/vdstools/DataEncoder.java @@ -148,8 +148,8 @@ public static byte[] encodeDate(LocalDate localDate) { * Encode a LocalDate as described in as described in ICAO TR "Datastructure for * Barcode" in six bytes. * - * @param localDate Date - * @return date encoded in 6 bytes + * @param localDatetime LocalDateTime to encode + * @return local date time encoded in 6 bytes */ public static byte[] encodeDateTime(LocalDateTime localDatetime) { DateTimeFormatter pattern = DateTimeFormatter.ofPattern("MMddyyyyHHmmss");