I added some new functionality to be able to turn a CronSchedule into a human-readable string. This work has been modeled off of this C# implementation.
Some examples:
Describing */2 * 2-10/4 * * gives Every 2 minutes, every 4 days, between days 2 and 10 of the month
Describing 1 2,3,4-13 * * * gives At 02:01 AM, 03:01 AM and at 1 minutes past the hour between 04:00 AM and 01:00 PM, every day, every day of the week
There's a pleasant amount of test coverage and documentation for this feature, and there are only additive changes to user-facing APIs.
Hey,
I added some new functionality to be able to turn a
CronSchedule
into a human-readable string. This work has been modeled off of this C# implementation.Some examples:
*/2 * 2-10/4 * *
givesEvery 2 minutes, every 4 days, between days 2 and 10 of the month
1 2,3,4-13 * * *
givesAt 02:01 AM, 03:01 AM and at 1 minutes past the hour between 04:00 AM and 01:00 PM, every day, every day of the week
There's a pleasant amount of test coverage and documentation for this feature, and there are only additive changes to user-facing APIs.