@Override
        public <T> Codec<T> get(final Class<T> aClass, final CodecRegistry codecRegistry) {
            if (aClass == ZonedDateTime.class) {
                return (Codec<T>) new ZonedDateTimeCodec();
            }
            return null;
        }
The type Zoned date time codec provider.
support/cas-server-support-mongo-core/src/main/java/org/apereo/cas/mongo/BaseConverters.java