Class MonthAsStringCodec

  • All Implemented Interfaces:
    Codec<Month>, Decoder<Month>, Encoder<Month>

    public final class MonthAsStringCodec
    extends Object
    implements Codec<Month>

    Encodes and decodes Month values to and from BSON String, such as JANUARY.

    The values are stored as enum constant names (see Enum.name()).

    This type is immutable.