class DateUtil {

    public static Date toUtcDate(String dateStr) {
        notNull(dateStr, "dateStr can't be null");
        try {
            return buildDateFormat().parse(dateStr);
        } catch (ParseException e) {
            throw new RuntimeException(e);
        }
    }

}