- Should date ranges be inclusive or exclusive?
- Are date ranges inclusive?
- Is after inclusive or exclusive?
Should date ranges be inclusive or exclusive?
I'd say inclusive, simply because if I pick a date or date range I'm thinking about that specific time or range. If I wanted a time range between 2am and 3am I wouldn't want to put 01:59:59 - 03:00:01. Whatever choice you make, make sure you are constant across your code base.
Are date ranges inclusive?
They are inclusive if the contract says they are, they are exclusive if the contract says they are.
Is after inclusive or exclusive?
To answer the question apart from this poorly written sample, the words "after" and "until" can be either inclusive or exclusive, depending on context.