lt
Returns whether the receiver is strictly earlier than another month. Comparison uses the month index only.
API Reference
Signatures
Parameters
Returns
Returns true when the left month is strictly earlier; otherwise false.
Throws
- Throws when an input value is not a valid month.
Agent Contract
Agent Notes
- Use comparison methods instead of relational operators on
Monthvalues. - Use le when equality should also count as "earlier or equal".