7 ms·
Exactly. Making "notBefore" inclusive but "notAfter" exclusive is inconsistent and IMHO confusing. If the end time should be exclusive then it should be calle
by mulmen 5y ago
Exactly.
Making "notBefore" inclusive but "notAfter" exclusive is inconsistent and IMHO confusing. If the end time should be exclusive then it should be called "until" instead of "notAfter".
- account42 5y agoIt's only confusing because you interpret notBefore and notAfter as one-second time intervals when they really should be instants at the start of that second.