3
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

iCaldendar RFC-5545: 毎月の末日をRRULEで求める

Last updated at Posted at 2019-08-08

本稿では毎月の末日を抽出するRRULEの書き方を紹介する。

RRULE:FREQ=MONTHLY;BYMONTHDAY=-1

このルールで抽出される日付の例はrrule.js demoで確認できる。

解説

FREQ=MONTHLYは月次で繰り返すの意味。

BYMONTHDAY=-1は、毎月の末日の後ろから1番目という意味。つまり末日になる。

参考文献

3
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?