class TimeDataConverter implements DataConverter<Time> {

    @Override
    public Time stringToValue(String rawData) throws ParseException {
        if (!StringUtils.isNotEmpty(rawData)) return null;

        Time parsedTime = new Time(getFormatter().parse(rawData).getTime());

        return (Time) timeZoneTransformer.toServerTimeZone(parsedTime);
    }

}