Back to project page Timetable.
The source code is released under:
GNU General Public License
If you think the Android project Timetable listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.timetable.android.utils; /* ww w . jav a2 s.co m*/ import java.util.Calendar; public class SimpleTimeProvider extends TimeProvider { public Calendar getCurrDateTimeCal() { //Calendar cal = Calendar.getInstance(); //cal.setTime(new Date()); //cal.add(Calendar.MILLISECOND, TimeZone.getDefault().getOffset(new Date().getTime())); //Logger.error("SimepleTimeProvider.getCurrDateTimeCal: " + cal.getTime().toString()); //return cal; return Calendar.getInstance(); } }