Here you can find the source of getMillis(String _cal)
static long getMillis(String _cal)
//package com.java2s; public class Main { static long getMillis(String _cal) { int idx1 = _cal.indexOf("time"); int idx2 = _cal.indexOf(","); return Long.parseLong(_cal.substring(idx1 + 5, idx2)); }/*from ww w .j a va 2 s. co m*/ }