Skip to content

What if we were to support day-of-week? #1

@michi-oshima

Description

@michi-oshima

(Is this the only way to post a comment?)

Hi Tim,

Thanks for the code. Just three short and beautiful functions! (I still don't fully understand how the lazy seq thing works.)

I notice you also correctly take care of the number of days in a month.

I'm going to change the problem on you a bit, hopefully making it harder. (Sorry!)

If we were to support day-of-week for specifying days, how would you go about it? For example, something like this:

  • { :day-of-week [:tuesday :thursday] :hour 18 :minute 30 } (Every Tuesday and Thursday at 6:30pm)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions