Java tutorial
//package com.java2s; import java.util.Calendar; public class Main { public static Calendar convertCalendar(String milliSeconds) { Long mMilliSeconds = 0L; mMilliSeconds = Long.parseLong(milliSeconds); Calendar mCalendarEvent = Calendar.getInstance(); mCalendarEvent.setTimeInMillis(mMilliSeconds); return mCalendarEvent; } }