### **Package Scope** <!-- Is this feature added to an existing package? Or make a new one? --> - [x] Add to an existing package - [ ] New package <!-- Write the package name here --> Package name: `@toss/date@1.1.8` ### **Overview** <!-- A clear and concise description about the feature --> As JavaScript `Date` objects support [relational operations](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators#relational_operators), using libraries like `date-fns` is not necessary. ### **Describe the solution you'd like** <!-- A clear and concise description of what you want to happen --> ```ts export function isEqualOrBefore(lhs: Date, rhs: Date) { return lhs <= rhs; // return isEqual(lhs, rhs) || isBefore(lhs, rhs); } export function isEqualOrAfter(lhs: Date, rhs: Date) { return lhs >= rhs; // return isEqual(lhs, rhs) || isAfter(lhs, rhs); } ``` ### **Additional context** <!-- Add any other context or screenshots about the feature request here --> - [Stack Overflow: Compare two dates with JavaScript](https://stackoverflow.com/a/493018)