Restore the original Date constructor
Update the mocked date to a new value
Advance the mocked date by a specified amount
Advance the mocked date by a specified number of days
Advance the mocked date by a specified number of hours
Advance the mocked date by a specified number of minutes
Get the current mocked date
Reset to the original mocked date
Mock a specific timezone by adjusting the date
Create a date that's relative to the current mocked date
Helper methods for common date testing scenarios
Get a date representing "yesterday" relative to the mocked date
Get a date representing "tomorrow" relative to the mocked date
Get a date representing "one week ago" relative to the mocked date
Get a date representing "one week from now" relative to the mocked date
Get a date representing "one month ago" relative to the mocked date
Get a date representing "one month from now" relative to the mocked date
Get a date representing "one year ago" relative to the mocked date
Get a date representing "one year from now" relative to the mocked date
Get the start of the day for the mocked date
Get the end of the day for the mocked date
Get the start of the week for the mocked date
Get the end of the week for the mocked date
Get the start of the month for the mocked date
Get the end of the month for the mocked date
Get the start of the year for the mocked date
Get the end of the year for the mocked date
Create an expired date (1 hour ago)
Create a future date (1 hour from now)
Create a date in ISO string format
Create a Unix timestamp
Create a date for JWT expiration (1 hour from now)
Create a date for JWT issued at (current time)
Enhanced helper to mock date for consistent testing with edge case handling Provides comprehensive date mocking capabilities for various testing scenarios