nirum
nirum copied to clipboard
Constraints for numeric unboxed types
E.g.:
@numeric-constraints(min=1, max=12)
unboxed month (int32);
Possible options:
- [x]
min
(inclusive; cannot be used withgreater-than
): #271 - [x]
max
(inclusive; cannot be used withless-than
): #271 - [ ]
greater-than
(exclusive; cannot be used withmin
) - [ ]
less-than
(exclusive; cannot be used withmax
)