class TimeIntervalParser {

    public static long[] parse(String paramText) {
        if ( paramText == null || paramText.trim().length() == 0 ) {
            return new long[0];
        }
        String[] params = paramText.split( "," );
        long[] result = new long[params.length];
        for ( int i = 0; i < params.length; i++ ) {
            result[i] = parseSingle( params[i] );
        }
        return result;
    }

    private  TimeIntervalParser();

}