Adverbs of frequency, Dates

Hi community:

Thanks for readme. I want to achieve get an adverb of frequency from a time interval or date component. So if I have something that measure one week, I want to get "weekly" as result, the same for 2 weeks "bi-weekly", month "monthly" and so on.

Is there any foundation API to get it?

Thanks in advance

Accepted Reply

This would be a great addition. Please submit a feedback request, including the granularity of time intervals and potential purposes you'd use this for, and then include the FB number in this thread.

Add a Comment

Replies

I don't know of such API (similar to isDateInYesterday).

But it is should be easy to write an extension to Calendar to do it.

This would be a great addition. Please submit a feedback request, including the granularity of time intervals and potential purposes you'd use this for, and then include the FB number in this thread.

Add a Comment

FB12204237

Add a Comment