Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] calendar file
- Date: Thu, 24 Jun 2010 15:52:53 +0900
- From: Richard Frankum <richard.frankum+mailinglist@example.com>
- Subject: Re: [tlug] calendar file
- References: <20100623133716.GT3432@example.com>
On Wed, Jun 23, 2010 at 10:37 PM, Michal Hajek <hajek1@example.com> wrote: > [1] man calendar The calendars given so far on the thread seem to be simple date lists, but if you're looking for historical data you would need to do some calculation to account for legislative changes. I couldn't find a good explanation but here are some pages with code: For Ruby, with an added seireki<>nengo calculation: http://itdict.ddo.jp/~yamamoto/Script/Calendar/ jholiday for Python: http://lightson.dip.jp/zope/ZWiki/202_e4_bc_91_e6_97_a5_e3_82_92_e5_88_a4_e5_ae_9a_e3_81_99_e3_82_8b for XEmacs: http://www002.upp.so-net.ne.jp/mamewo/emacs.html#calendar I think the hardest part to code would be the the furikae kyūjitsu, where you would have to check if the date hit on a Sunday and transfer accordingly. --Richard Frankum
- Follow-Ups:
- Re: [tlug] calendar file
- From: Michal Hajek
- References:
- [tlug] calendar file
- From: Michal Hajek
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] calendar file
- Next by Date: Re: [tlug] Introducing myself
- Previous by thread: Re: [tlug] calendar file
- Next by thread: Re: [tlug] calendar file
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links