public static long parseTime(String time) throws java.text.ParseException {
synchronized (PARSE_DATE) {
    Date parsed=PARSE_DATE.parse(time);
    return parsed.getTime();
  }
}

public static long parseTime ( String time ) throws java . text . ParseException { synchronized ( PARSE_DATE ) { Date parsed = PARSE_DATE . parse ( time ) ; return parsed . getTime ( ) ; } }
parses the time returned from the twitch api .
