Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- GregorianCalendar start = new GregorianCalendar(newanneee,newmois,newjour);
- GregorianCalendar stop = new GregorianCalendar(); //aujourd'hui
- int years = stop.get(stop.YEAR) - start.get(Calendar.YEAR);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement