pub const ENUM_VALUES_TIME_UNIT: [TimeUnit; 4];
Use associated constants instead. This will no longer be generated in 2021.