@Override
        public Object transform(final Object o) {
            val value = (ZonedDateTime) o;
            return value.toString();
        }
The type Zoned date time transformer.
support/cas-server-support-mongo-core/src/main/java/org/apereo/cas/mongo/BaseConverters.java