From 606fc89a3aec72bc509e204a47ac9e2b913b1363 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20Tegn=C3=A9r?= Date: Tue, 27 Feb 2024 19:47:15 +0100 Subject: [PATCH] fix: Fixed javadocs to show the actual long format (without separator). MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Johannes Tegnér --- src/main/java/dev/personnummer/Personnummer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/dev/personnummer/Personnummer.java b/src/main/java/dev/personnummer/Personnummer.java index 2d4c22e..5f0ce03 100644 --- a/src/main/java/dev/personnummer/Personnummer.java +++ b/src/main/java/dev/personnummer/Personnummer.java @@ -203,7 +203,7 @@ public LocalDateTime getDate() { /** * Format the personal identity number into a valid string (YYMMDD-/+XXXX) - * If longFormat is true, it will include the century (YYYYMMDD-/+XXXX) + * If longFormat is true, it will include the century (YYYYMMDDXXXX) * * @return Formatted personal identity number. */ @@ -213,7 +213,7 @@ public String format() { /** * Format the personal identity number into a valid string (YYMMDD-/+XXXX) - * If longFormat is true, it will include the century (YYYYMMDD-/+XXXX) + * If longFormat is true, it will include the century (YYYYMMDDXXXX) * * @param longFormat If century should be included. * @return Formatted personal identity number.