data7/src/main/java/data7/Utils.java
/**
     * Function to get the epoc time from a date encoded under the format yyyy-MM-dd'T'HH:mm:ss.SSSXXX
     * @param str date
     * @return long epoc time
     * @throws ParseException
     */
Function to get the epoc time from a date encoded under the format yyyy-MM-dd'T'HH:mm:ss.SSSXXX
@param str date
@return long epoc time
@throws ParseException
Function to get the epoc time from a date encoded under the format yyyy - MM - dd ' T ' HH : mm : ss . SSSXXX @param str date @return long epoc time @throws ParseException
public static long dateToLong(String str) throws ParseException {
        DateFormat formatter;
        Date date;
        formatter = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSXXX");
        date = (Date) formatter.parse(str);
        return date.getTime();
    }
public static long dateToLong ( String str ) throws ParseException { DateFormat formatter ; Date date ; formatter = new SimpleDateFormat ( "yyyy-MM-dd'T'HH:mm:ss.SSSXXX" ) ; date = ( Date ) formatter . parse ( str ) ; return date . getTime ( ) ; }
Function to get the epoc time from a date encoded under the format yyyy-MM-dd'T'HH:mm:ss.SSSXXX
 @param str date
 @return long epoc time
 @throws ParseException
Function to get the epoc time from a date encoded under the format yyyy - MM - dd ' T ' HH : mm : ss . SSSXXX @param str date @return long epoc time @throws ParseException