Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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