Improves date validation and adds flexible date/time formatting capabilities. The date validation is updated to return a boolean and is incorporated directly into calling functions to throw errors, improving code readability and maintainability. DateService is extended with functions for formatting time in 12-hour format, getting day names, and formatting date ranges with customizable options. |
||
|---|---|---|
| .. | ||
| DateCalculator.test.ts | ||
| DateService.test.ts | ||
| TimeFormatter.test.ts | ||