Ciao!
Ho già fatto alcuni tentativi e non riesco a fare il casting per passare da gregoriancalendar a intero... l'ultimo tentativo è stato:
GregorianCalendar g=new GregorianCalendar();
int oraC=Integer.parseInt(g.get(Calendar.HOUR));
![]()
Ciao!
Ho già fatto alcuni tentativi e non riesco a fare il casting per passare da gregoriancalendar a intero... l'ultimo tentativo è stato:
GregorianCalendar g=new GregorianCalendar();
int oraC=Integer.parseInt(g.get(Calendar.HOUR));
![]()