This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
from datetime import date, timedelta | |
# 六曜リスト | |
ROKUYO_TABLE = ['大安', '赤口', '先勝', '友引', '先負', '仏滅'] | |
# 月別六曜開始位置リスト | |
ROKUYO_MONTH = [2, 3, 4, 5, 0, 1, 2, 3, 4, 5, 0, 1] | |
# 新暦→旧暦の変換テーブル |