Giorni a singola cifra
This commit is contained in:
parent
678630b6eb
commit
e991731cb8
@ -265,6 +265,9 @@ public class GestisciCodiceFiscale {
|
|||||||
ritorno = Integer.toString(giorno + 40);
|
ritorno = Integer.toString(giorno + 40);
|
||||||
} else {
|
} else {
|
||||||
ritorno = Integer.toString(giorno);
|
ritorno = Integer.toString(giorno);
|
||||||
|
if (ritorno.length() == 1) {
|
||||||
|
ritorno = "0" + ritorno;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return ritorno;
|
return ritorno;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user