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