Class IsoDates

    • Method Detail

      • encode

        public void encode​(Mapper mapper,
                           org.bson.BsonWriter writer,
                           org.bson.codecs.EncoderContext encoderContext)
        Overrides:
        encode in class Expression
        Parameters:
        mapper - the mapper
        writer - the writer
        encoderContext - the context
      • timezone

        public IsoDates timezone​(Expression timezone)
        The optional timezone to use to format the date. By default, it uses UTC.
        Parameters:
        timezone - the expression
        Returns:
        this