Code example for Time

Methods: normalizesettoMillis

import android.text.format.Time; 
class Utils { 
    public static long createTimeInMillis(int second, int minute, int hour, int monthDay,
            int month, int year, String timezone) {
        Time t = new Time(timezone);
        t.set(second, minute, hour, monthDay, month, year);
        return t.toMillis(false);
Connect your IDE to all the code out there  Get Codota for Java