Skip to content

Commit

Permalink
fix: Fixed javadocs to show the actual long format (without separator).
Browse files Browse the repository at this point in the history
Signed-off-by: Johannes Tegnér <johannes@jitesoft.com>
  • Loading branch information
Johannestegner committed Feb 27, 2024
1 parent 9d66c30 commit 606fc89
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/dev/personnummer/Personnummer.java
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand All @@ -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.
Expand Down

0 comments on commit 606fc89

Please sign in to comment.