class GeneralizedTimeValueTranscoder extends AbstractStringValueTranscoder<ZonedDateTime> {

  @Override
  public ZonedDateTime decodeStringValue(final String value)
  {
    try {
      return parseGeneralizedTime(value);
    } catch (ParseException | DateTimeException e) {
      throw new IllegalArgumentException(e);
    }
  }

}