Skip to content

Instantly share code, notes, and snippets.

@Corikachu
Created July 29, 2014 10:34
Show Gist options
  • Save Corikachu/a79182b2dcaac4b4fe6d to your computer and use it in GitHub Desktop.
Save Corikachu/a79182b2dcaac4b4fe6d to your computer and use it in GitHub Desktop.
import java.util.Calendar;
import java.util.GregorianCalendar;
public class WonkyunCalendar {
private GregorianCalendar calendar;
public WonkyunCalendar(){
calendar = new GregorianCalendar();
}
public int getYear(){
return calendar.get(Calendar.YEAR);
}
public int getMonth(){
return calendar.get(Calendar.MONTH);
}
public int getDate(){
return calendar.get(Calendar.DATE);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment