Skip to content

Commit 952a11b

Browse files
fix: Fixed javadocs to show the actual long format (without separator).
Signed-off-by: Johannes Tegnér <[email protected]>
1 parent 9d66c30 commit 952a11b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/dev/personnummer/Personnummer.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ public LocalDateTime getDate() {
203203

204204
/**
205205
* Format the personal identity number into a valid string (YYMMDD-/+XXXX)
206-
* If longFormat is true, it will include the century (YYYYMMDD-/+XXXX)
206+
* If longFormat is true, it will include the century (YYYYMMDDXXXX)
207207
*
208208
* @return Formatted personal identity number.
209209
*/
@@ -213,7 +213,7 @@ public String format() {
213213

214214
/**
215215
* Format the personal identity number into a valid string (YYMMDD-/+XXXX)
216-
* If longFormat is true, it will include the century (YYYYMMDD-/+XXXX)
216+
* If longFormat is true, it will include the century (YYYYMMDDXXXX)
217217
*
218218
* @param longFormat If century should be included.
219219
* @return Formatted personal identity number.

0 commit comments

Comments
 (0)