pub const ENUM_MAX_TIME_UNIT: i16 = 3;
Use associated constants instead. This will no longer be generated in 2021.