Class: When::BasicTypes::M17n

Inherits:
Code show all
Includes:
Locale, Parts::Resource
Defined in:
lib/when_exe/basictypes.rb,
lib/when_exe/region/dee.rb,
lib/when_exe/region/pax.rb,
lib/when_exe/region/m17n.rb,
lib/when_exe/region/thai.rb,
lib/when_exe/region/yerm.rb,
lib/when_exe/region/bahai.rb,
lib/when_exe/region/roman.rb,
lib/when_exe/region/shire.rb,
lib/when_exe/region/world.rb,
lib/when_exe/region/coptic.rb,
lib/when_exe/region/french.rb,
lib/when_exe/region/indian.rb,
lib/when_exe/region/jewish.rb,
lib/when_exe/region/chinese.rb,
lib/when_exe/region/goddess.rb,
lib/when_exe/region/iranian.rb,
lib/when_exe/region/islamic.rb,
lib/when_exe/region/martian.rb,
lib/when_exe/region/tibetan.rb,
lib/when_exe/region/armenian.rb,
lib/when_exe/region/balinese.rb,
lib/when_exe/region/japanese.rb,
lib/when_exe/region/javanese.rb,
lib/when_exe/region/symmetry.rb,
lib/when_exe/region/weekdate.rb,
lib/when_exe/region/christian.rb,
lib/when_exe/region/babylonian.rb,
lib/when_exe/region/discordian.rb,
lib/when_exe/region/positivist.rb,
lib/when_exe/region/vietnamese.rb,
lib/when_exe/region/hanke_henry.rb,
lib/when_exe/region/tranquility.rb,
lib/when_exe/region/zoroastrian.rb,
lib/when_exe/region/world_season.rb,
lib/when_exe/region/chinese/notes.rb,
lib/when_exe/region/saudi_arabian.rb,
lib/when_exe/region/international_fixed.rb,
lib/when_exe/region/vanishing_leprechaun.rb,
lib/when_exe/linkeddata.rb

Overview

When::BasicTypes::M17n への追加

Direct Known Subclasses

CalendarNote::Week::DayOfWeek

Constant Summary collapse

HashProperty =
[:label, :names, :link, :access_key, :code_space]
LabelTypes =
{
  'Residue' => ['Coordinates',      '%s',     '_co:%s%s'     ],
  'Week'    => ['CalendarNote',     '%sWeek', '_n:%sWeek%s'  ],
  'Notes'   => ['CalendarNote',     '%s',     '_n:%s/Notes%s'],
  nil       => ['BasicTypes::M17n', '%s',     '_m:%s%s'      ]
}
Dee =
[self, [
  "namespace:[en=http://calendars.wikia.com/wiki/]",
  "locale:[=en:, ja]",
  "names:[Dee=en:Dee_calendar, ディー暦=]",
  "[DeeCecil=en:Dee-Cecil_calendar, ディー-セシル暦=]"
]]
Pax =
[self, [
  "locale:[=en:, ja, zh]",
  "names:[Pax=en:Pax_Calendar, パックス暦=ja:%%<13の月の暦>#%.<パックス暦>, 十三月曆]",

  # %0s は“閏”の表記を抑制する指定となっている
  [self,
    "names:[Month, 月=ja:%%<月_(暦)>]",
    "[January,   1月, /date/month_names/1] ",
    "[February,  2月, /date/month_names/2] ",
    "[March,     3月, /date/month_names/3] ",
    "[April,     4月, /date/month_names/4] ",
    "[May,       5月, /date/month_names/5] ",
    "[June,      6月, /date/month_names/6] ",
    "[July,      7月, /date/month_names/7] ",
    "[August,    8月, /date/month_names/8] ",
    "[September, 9月, /date/month_names/9] ",
    "[October,  10月, /date/month_names/10]",
    "[November, 11月, /date/month_names/11]",
    "[Columbus, 12月                      ]",
    "[December, 13月, /date/month_names/12]",
    "[%0sPax=en:Pax_Calendar, %0sパックス=ja:%%<13の月の暦>#%.<パックス暦>]" # Leap week
  ]
]]
Calendar =

共通的な暦用語

[M17n, [
  "locale:[=en:, ja=ja:, alias]",
  "names:[Calendar=]",

  "[Intercalary %s=, *閏, zh:閏]",

  [M17n,
    "names:[month name=en:Month, 月の名前=ja:%%<月_(暦)>, zh:該月的名稱=, *alias:Month=]",
    "[January,   1月, /date/month_names/1] ",
    "[February,  2月, /date/month_names/2] ",
    "[March,     3月, /date/month_names/3] ",
    "[April,     4月, /date/month_names/4] ",
    "[May,       5月, /date/month_names/5] ",
    "[June,      6月, /date/month_names/6] ",
    "[July,      7月, /date/month_names/7] ",
    "[August,    8月, /date/month_names/8] ",
    "[September, 9月, /date/month_names/9] ",
    "[October,  10月, /date/month_names/10]",
    "[November, 11月, /date/month_names/11]",
    "[December, 12月, /date/month_names/12]"
  ],

  [M17n,
    "names:[Abbr_Month, 月略称)]",
    "[Jan,  1月, /date/abbr_month_names/1] ",
    "[Feb,  2月, /date/abbr_month_names/2] ",
    "[Mar,  3月, /date/abbr_month_names/3] ",
    "[Apr,  4月, /date/abbr_month_names/4] ",
    "[May,  5月, /date/abbr_month_names/5] ",
    "[Jun,  6月, /date/abbr_month_names/6] ",
    "[Jul,  7月, /date/abbr_month_names/7] ",
    "[Aug,  8月, /date/abbr_month_names/8] ",
    "[Sep,  9月, /date/abbr_month_names/9] ",
    "[Oct, 10月, /date/abbr_month_names/10]",
    "[Nov, 11月, /date/abbr_month_names/11]",
    "[Dec, 12月, /date/abbr_month_names/12]"
  ]
]]
EpochEvents =

Events

[M17n, [
  "locale:[=en:, ja=ja:, alias]",
  "names:[EpochEvents=]",
  "[Accession=,        代始]",
  "[FelicitousEvent=,  祥瑞]",
  "[NaturalDisaster=,  災異]",
  "[InauspiciousYear=, 革年]",
  "[Foundation=,       創業]",
  "[CalendarReform=,   改暦]",
  "[CalendarEpoch=,    暦元]"
]]
CalendarFormats =

Formats

[M17n, [
  "locale:[=]",
  "names:[CalendarFormats=]",
  "[Date=,          /date/formats/default]",
  "[DateLong=,      /date/formats/long   ]",
  "[DateShort=,     /date/formats/short  ]",
  "[DateTime=,      /time/formats/default]",
  "[DateTimeLong=,  /time/formats/long   ]",
  "[DateTimeShort=, /time/formats/short  ]",
  "[Time=,          /time/formats/time   ]",
  "[AM=,            /time/am             ]",
  "[PM=,            /time/pm             ]"
]]
Thai =
[self, [
  "locale:[=en:, ja=ja:, zh=zh:, hi=hi:, alias]",
  "names:[Thailand, タイ=ja:タイ王国, 泰国, *alias:Thai]",
  "[ThaiLuniSolar=en:Thai_lunar_calendar, タイ太陰太陽暦=ja:%%<チャントラカティ>, 傣曆]",

  [self,
    "names:[HalfMonth=, 半月=, zh:半月=, *alias:IntercalaryMonth=en:Intercalation]",
    "[%s Śuklapakṣa=,        %s 白分=,   %s 上弦月=,   _IAST_]",
    "[%s Kṛṣṇapakṣa=,        %s 黒分=,   %s 下弦月=,   _IAST_]",
    "[adhika %s Śuklapakṣa=, 閏%s 白分=, 閏%s 上弦月=, _IAST_]",
    "[adhika %s Kṛṣṇapakṣa=, 閏%s 黒分=, 閏%s 下弦月=, _IAST_]"
  ],

  [self,
    "names:[LunarMonth=, 太陰月=ja:%%<月_(暦)>]",
    "[Mārgaśīra=en:Margashirsha,   マールガシールシャ=, 登甘=,   _IAST_]",
    "[Pauṣa=en:Pausha,             パウシャ=,           三月=,   _IAST_]",
    "[Māgha=en:Maagha,             マーガ=,             四月=,   _IAST_]",
    "[Phālguna=en:Phalguna,        パールグナ=,         五月=,   _IAST_]",
    "[Caitra=en:Chaitra,           チャイトラ=,         六月=,   _IAST_]",
    "[Vaiśākha=en:Vaisakha,        ヴァイシャーカ=,     七月=,   _IAST_]",
    "[Jyaiṣṭha=en:Jyeshta,         ジャイシュタ=,       八月=,   _IAST_]",
    "[Āṣāḍha=en:Aashaadha,         アーシャーダ=,       九月=,   _IAST_]",
    "[Śrāvaṇa=en:Shraavana,        シュラーヴァナ=,     十月=,   _IAST_]",
    "[Bhādrapada=en:Bhadrapada,    バードラパダ=,       十一月=, _IAST_]",
    "[Āśvina=en:Ashwin,            アーシュヴィナ=,     十二月=, _IAST_]",
    "[Kārttika=en:Kartika_(month), カールッティカ=,     登景=,   _IAST_]"
  ]
]]
Yerm =
[self, [
  "locale:[=en:, ja]",
  "names:[Karl Palmen's Yerm Lunar Calednar=, Karl Palmen のヤーム暦=, *Yerm=]",
  "[YermLunar=http://calendars.wikia.com/wiki/Yerm_Lunar_Calendar, ヤーム=]",

  [Coordinates::Residue, "label:[yerm=]", "divisor:52", "year:0", "format:[%s=]"] +
  (1..52).to_a.map {|y|  [Coordinates::Residue, "label:[Yerm #{y}=]", "remainder:#{y-1}"]},
  [self, "names:[month number=en:Month, 月の番号=ja:%%<月_(暦)>, zh:該月的數=, *alias:month=]"] + (1..17).to_a.map {|m| "Month #{m}"},
  [self, "names:[night]"] + (1..30).to_a.map {|m| "Night #{m}"}
]]
Bahai =
[self, [
  "locale:[=en:, ja=ja:, zh=zh:]",
  "names:[Bahai=en:Bah%C3%A1%27%C3%AD_calendar, バハーイー暦=ja:%%<バハーイー教>, 巴哈伊曆=zh:%%<巴哈伊曆法>]",

  # %0s は“閏”の表記を抑制する指定となっている
  [self,
    "locale:[=en:, ar=ar:, alias=en:]",
    "names:[month name=en:Month, ja:月の名前=ja:%%<月_(暦)>, zh:該月的名稱=, *alias:Month=]",
    "[Bahá=,      بهاء=,    Splendour=  ]", #  1
    "[Jalál=,     جلال=,    Glory=      ]", #  2
    "[Jamál=,     جمال=,    Beauty=     ]", #  3
    "[‘Aẓamat=,  عظمة=,    Grandeur=   ]", #  4
    "[Núr=,       نور=,     Light=      ]", #  5
    "[Raḥmat=,    رحمة=,    Mercy=      ]", #  6
    "[Kalimát=,   كلمات=,   Words=      ]", #  7
    "[Kamál=,     كمال=,    Perfection= ]", #  8
    "[Asmá’=,    اسماء=,   Names=      ]", #  9
    "[‘Izzat=,   عزة=,     Might=      ]", # 10
    "[Mashíyyat=, عزة=,     Will=       ]", # 11
    "[‘Ilm=,     علم=,     Knowledge=  ]", # 12
    "[Qudrat=,    قدرة=,    Power=      ]", # 13
    "[Qawl=,      قول=,     Speech=     ]", # 14
    "[Masá’il=,  مسائل=,   Questions=  ]", # 15
    "[Sharaf=,    شرف=,     Honour=     ]", # 16
    "[Sulṭán=,    سلطان=,   Sovereignty=]", # 17
    "[Mulk=,      ملك=,     Dominion=   ]", # 18
    "[‘Alá’=,   علاء=,    Loftiness=  ]", # 19
    "[%0sAyyám-i-Há=en:Ayy%C3%A1m-i-H%C3%A1, %0sايام الهاء=, %0sThe Days of Há=]" # Intercalary days
  ]
]]
Roman =
[self, [
  "locale:[=en:, ja=ja:, zh=zh:, alias]",
  "names:[Roman=en:Roman_calendar, ローマ暦, 羅馬曆]",

  # Remarks
  '[based on Chris Bennett "Roman Dates" (Retrieved 2013-05-13)=http://www.tyndalehouse.com/Egypt/ptolemies/chron/roman/chron_rom_intro_fr.htm,' +
   '典拠 - Chris Bennett "Roman Dates" (2013-05-13 閲覧)=]',

  [self, # ..CE-44 / ..BCE45
    "names:[month name=en:Month, 月の名前=ja:%%<月_(暦)>, 該月的名稱=, *alias:MonthA=]",
    "[Ianuarius,    1月]",
    "[Februarius,   2月]",
    "[Martius,      3月]",
    "[Aprilis,      4月]",
    "[Maius,        5月]",
    "[Iunius,       6月]",
    "[Quintilis,  旧7月=]",
    "[Sextilis,   旧8月=]",
    "[September,    9月]",
    "[October,     10月]",
    "[November,    11月]",
    "[December,    12月]" 
  ],

  [self, # CE-43..CE-8 / BCE44..BCE9
    "names:[month name=en:Month, 月の名前=ja:%%<月_(暦)>, 該月的名稱=, *alias:MonthB=]",
    "[Ianuarius,    1月]",
    "[Februarius,   2月]",
    "[Martius,      3月]",
    "[Aprilis,      4月]",
    "[Maius,        5月]",
    "[Iunius,       6月]",
    "[Iulius,       7月]",
    "[Sextilis,   旧8月=]",
    "[September,    9月]",
    "[October,     10月]",
    "[November,    11月]",
    "[December,    12月]"
  ],

  [self, # CE-7..CE36, CE41.. / BCE8..CE36, CE41..
    "names:[month name=en:Month, 月の名前=ja:%%<月_(暦)>, 該月的名稱=, *alias:Month=]",
    "[Ianuarius,    1月]",
    "[Februarius,   2月]",
    "[Martius,      3月]",
    "[Aprilis,      4月]",
    "[Maius,        5月]",
    "[Iunius,       6月]",
    "[Iulius,       7月]",
    "[Augustus,     8月]",
    "[September,    9月]",
    "[October,     10月]",
    "[November,    11月]",
    "[December,    12月]"
  ],

  [self, # CE37..CE40
    "names:[month name=en:Month, 月の名前=ja:%%<月_(暦)>, 該月的名稱=, *alias:MonthD=]",
    "[Ianuarius,    1月]",
    "[Februarius,   2月]",
    "[Martius,      3月]",
    "[Aprilis,      4月]",
    "[Maius,        5月]",
    "[Iunius,       6月]",
    "[Iulius,       7月]",
    "[Augustus,     8月]",
    "[Germanicus, 新9月=]",
    "[October,     10月]",
    "[November,    11月]",
    "[December,    12月]"
  ],

  # %0s は“閏”の表記を抑制する指定となっている
  [self, # Intercalary Months
    "names:[IntercalaryMonth=en:Intercalation, 閏月]",
    "[%0sIntercalaris=en:Roman_calendar#Calendar_of_Numa,"      +
     "閏月%0s=ja:%%<ローマ暦>#%.<末期のローマ暦>]",
    "[%0sIntercalaris Prior=en:Julian_calendar#Realignment_of_the_year,"     +
     "第1閏月%0s=ja:%%<ローマ暦>#%.<末期のローマ暦>]",
    "[%0sIntercalaris Posterior=en:Julian_calendar#Realignment_of_the_year," +
     "第2閏月%0s=ja:%%<ローマ暦>#%.<末期のローマ暦>]",
  ]
]]
Shire =
[self, [
  "namespace:[cal=https://en.wikipedia.org/wiki/Middle-earth_calendar#]",
  "locale:[=en:, ja=ja:, zh=zh:, alias]",
  "names:[Middle-earth=en:Middle-earth_calendar#Shire_calendar, ホビット庄暦=ja:%%<指輪物語>, 中土曆=zh:%%<魔戒>, *alias:Shire]",

  [self,
    "names:[Festival=,                 祭=                ]",
    "[%0sYule=en:Yule,                 %0sユール祭=       ]",
    "[%0sLithe=cal:Hobbit_calendar,    %0sライズ祭=       ]",
  ],

  [self,
    "names:[month name=en:Month, 月の名前=ja:%%<月_(暦)>, 該月的名稱=, *alias:Month=]",
    "[Yule=en:Yule,                    ユール祭=          ]",
    "[Afteryule=en:Yule,               ユール後月=        ]",
    "[Solmath=cal:Hobbit_calendar,     ソマス=            ]",
    "[Rethe=cal:Hobbit_calendar,       レセ=              ]",
    "[Astron=cal:Hobbit_calendar,      アストロン=        ]",
    "[Thrimidge=cal:Hobbit_calendar,   スリミッジ=        ]",
    "[Forelithe=cal:Hobbit_calendar,   ライズ前月=        ]",
    "[Afterlithe=cal:Hobbit_calendar,  ライズ後月=        ]",
    "[Wedmath=cal:Hobbit_calendar,     ウェドマス=        ]",
    "[Halimath=cal:Hobbit_calendar,    ハリマス=          ]",
    "[Winterfilth=cal:Hobbit_calendar, ウィンターフィルス=]",
    "[Blotmath=cal:Hobbit_calendar,    ブロドマス=        ]",
    "[Foreyule=en:Yule,                ユール前月=        ]"
  ]
]]
World =
[self, [
  "locale:[=en:, ja=ja:, zh=zh:, alias]",
  "names:[World=en:The_World_Calendar, 世界暦, 世界曆]"
]]
Coptic =
[self, [
  "locale:[=en:, ja=ja:, zh=zh:, alias]",
  "names:[Coptic=en:Copts, コプト, 科普特=zh:科普特人]",
  "[Coptic=en:Coptic_calendar,       コプト暦,                           科普特曆     ]",
  "[Ethiopian=en:Ethiopian_calendar, エチオピア暦=en:Ethiopian_calendar, 埃塞俄比亞曆=]",
  "[Egyptian=en:Egypt,               エジプト,                           埃及         ]",
  "[Ptolemaic=en:Ptolemaic_dynasty,  プトレマイオス朝,                   托勒密王朝   ]",

  # Remarks
  '[based on Chris Bennett "Egyptian Dates" (Retrieved 2014-06-29)=http://www.tyndalehouse.com/Egypt/ptolemies/chron/egyptian/chron_eg_intro.htm,' +
   '典拠 - Chris Bennett "Egyptian Dates" (2014-06-29 閲覧)=]',

  [self,
    "names:[month name=en:Month, 月の名前=ja:%%<月_(暦)>, 該月的名稱=, *alias:EgyptianMonth=]",
    "[tut=,      トート=      ]",
    "[baba=,     バーバ=      ]",
    "[hatur=,    ハートール=  ]",
    "[kiyahak=,  キヤハーク=  ]",
    "[tuba=,     トーバ=      ]",
    "[amshir=,   アムシール=  ]",
    "[baramhat=, バラムハート=]",
    "[barmuda=,  バルムーダ=  ]",
    "[bashans=,  バシャンス=  ]",
    "[ba'una=,   バウーナ=    ]",
    "[abib=,     アビーブ=    ]",
    "[misra=,    ミスラー=    ]",
    "[epagomen=, エパゴメネ=  ]"
  ],

  [self,
    "names:[month name=en:Month, 月の名前=ja:%%<月_(暦)>, 該月的名稱=, *alias:EthiopianMonth=]",
    "[Mäskäräm=, マスカラム=  ]",
    "[Ṭəqəmt=,   テケルト=    ]",
    "[Ḫədar=,    ヘダル=      ]",
    "[Taḫśaś=,   ターサス=    ]",
    "[Ṭərr=,     テル=        ]",
    "[Yäkatit=,  イェカティト=]",
    "[Mägabit=,  メガビト=    ]",
    "[Miyazya=,  ミアジア=    ]",
    "[Gənbot=,   ゲエンポト=  ]",
    "[Säne=,     セネ=        ]",
    "[Ḥamle=,    ハムレ=      ]",
    "[Nähase=,   ネハッセ=    ]",
    "[Ṗagʷəmen=, パゴウメン=  ]"
  ]
]]
French =
[self, [
  "locale:[=en:, ja=ja:, zh=zh:, alias]",
  "names:[French=]",
  "[FrenchRepublican=en:French_Republican_Calendar,              フランス共和暦=ja:%%<フランス革命暦>,              法國共和曆]",
  "[FrenchRepublican (Romme)=en:French_Republican_Calendar,      フランス共和暦 (Romme)=ja:%%<フランス革命暦>,      法國共和曆 (Romme)=zh:%%<法國共和曆>]",
  "[FrenchRepublican (Continuous)=en:French_Republican_Calendar, フランス共和暦 (Continuous)=ja:%%<フランス革命暦>, 法國共和曆 (Continuous)=zh:%%<法國共和曆>]",
  "[FrenchRepublican (128)=en:French_Republican_Calendar,        フランス共和暦 (128)=ja:%%<フランス革命暦>,        法國共和曆 (128)=zh:%%<法國共和曆>]",

  [self,
    "names:[month name=en:Month, 月の名前=ja:%%<月_(暦)>, 該月的名稱=, *alias:Month=]",
    "[Vendémiaire,    ヴァンデミエール=,       霞月, 葡萄月=]",
    "[Brumaire,       ブリュメール=,           霧月, 霧月=  ]",
    "[Frimaire,       フリメール=,             霜月, 霜月=  ]",
    "[Nivôse,         ニヴォーズ=,             雪月, 雪月=  ]",
    "[Pluviôse,       プリュヴィオーズ=,       雨月, 雨月=  ]",
    "[Ventôse,        ヴァントーズ=,           風月, 風月=  ]",
    "[Germinal,       ジェルミナル=,           芽月, 芽月=  ]",
    "[Floréal,        フロレアル=,             花月, 花月=  ]",
    "[Prairial,       プレリアル=,             牧月, 牧草月=]",
    "[Messidor,       メスィドール=,           獲月, 収穫月=]",
    "[Thermidor,      テルミドール=,           熱月, 熱月=  ]",
    "[Fructidor,      フリュクティドール=,     菓月, 果実月=]",
    "[Sansculottides, サン・キュロットの休日=, 其他日子=, 予備日=]"
  ]
]]
Indian =
[self, [
  "locale:[=en:, ja=ja:, zh=zh:, alias]",
  "names:[Indian=en:India, インド, 印度]",
  "[IndianNationalSolar=en:Indian_national_calendar, インド国定暦,                         印度國定曆, era:SE=]",
  "[Nanakshahi=en:Nanakshahi_calendar,               ナーナク暦=,                          拿那克曆=]",
  "[RevisedBengali=en:Bengali_calendar,              改訂ベンガル暦=,                      改变孟加拉曆=]",
  "[VikramSamvat=en:Vikram_Samvat,                   ヴィクラマ暦,                         维克拉姆历]",
  "[HinduSolar=en:Hindu_calendar,                    インド太陽暦=ja:%%<ヒンドゥー暦>,     印度陽曆=]",
  "[HinduLuniSolar=en:Hindu_calendar,                インド太陰太陽暦=ja:%%<ヒンドゥー暦>, 印度陰陽曆=]",

  [self,
    "locale:[=en:, ja=ja:, hi=hi:, alias]",
    "names:[HalfMonth=, 半月=, pakṣa=, zh:半月=, *IntercalaryMonth=en:Intercalation]",
    "[%s Śuklapakṣa=,        %s 白分=,   _IAST_=]",
    "[%s Kṛṣṇapakṣa=,        %s 黒分=,   _IAST_=]",
    "[adhika %s Śuklapakṣa=, 閏%s 白分=, _IAST_=]",
    "[adhika %s Kṛṣṇapakṣa=, 閏%s 黒分=, _IAST_=]"
  ],

  [self,
    "names:[IntercalaryDay=en:Intercalation, 閏日=ja:%%<閏>]",
    "[%s and next day=, %sと翌日=]",
    "[Intercalary %s=,  重%s=]"
  ],

  [self,
    "locale:[=en:, ja=ja:, hi=hi:, alias]",
    "names:[month name named after the star mansion=, 二十七宿にちなむ月名=, zh:對應於星宿月份名稱=, *alias:LunarMonth=]",
    "[Mārgaśīra=en:Margashirsha,   マールガシールシャ=, _IAST_=]",
    "[Pauṣa=en:Pausha,             パウシャ=,           _IAST_=]",
    "[Māgha=en:Maagha,             マーガ=,             _IAST_=]",
    "[Phālguna=en:Phalguna,        パールグナ=,         _IAST_=]",
    "[Caitra=en:Chaitra,           チャイトラ=,         _IAST_=]",
    "[Vaiśākha=en:Vaisakha,        ヴァイシャーカ=,     _IAST_=]",
    "[Jyaiṣṭha=en:Jyeshta,         ジャイシュタ=,       _IAST_=]",
    "[Āṣāḍha=en:Aashaadha,         アーシャーダ=,       _IAST_=]",
    "[Śrāvaṇa=en:Shraavana,        シュラーヴァナ=,     _IAST_=]",
    "[Bhādrapada=en:Bhadrapada,    バードラパダ=,       _IAST_=]",
    "[Āśvina=en:Ashwin,            アーシュヴィナ=,     _IAST_=]",
    "[Kārttika=en:Kartika_(month), カールッティカ=,     _IAST_=]"
  ],

  [self,
    "locale:[=en:, ja=ja:, hi=hi:, alias]",
    "names:[month name named after the zodiac=, 黄道十二宮にちなむ月名=, zh:對應於黃道十二宮月份名稱=, *alias:SolarMonth=]",
    "[Maysha=,                     白羊宮,              _IAST_=]",
    "[Vrushabha=,                  金牛宮,              _IAST_=]",
    "[Mithuna=,                    双児宮,              _IAST_=]",
    "[Karka=,                      巨蟹宮,              _IAST_=]",
    "[Simha=,                      獅子宮,              _IAST_=]",
    "[Kanya=,                      処女宮,              _IAST_=]",
    "[Tula=,                       天秤宮,              _IAST_=]",
    "[Vrushchika=,                 天蝎宮,              _IAST_=]",
    "[Dhanu=,                      人馬宮,              _IAST_=]",
    "[Makar=,                      磨羯宮,              _IAST_=]",
    "[Kumbha=,                     宝瓶宮,              _IAST_=]",
    "[Meena=,                      双魚宮,              _IAST_=]"
  ],

  [self,
    "names:[month name named after the star mansion=, 二十七宿にちなむ月名=, zh:對應於星宿月份名稱=, *alias:NanakshahiMonth=]",
    "[Maghar=en:Maghar_(month)    ]",
    "[Poh                         ]",
    "[Magh=en:Magh_(Sikh_calendar)]",
    "[Phagun                      ]",
    "[Chet=en:Chet_(month)        ]",
    "[Vaisakh                     ]",
    "[Jeth                        ]",
    "[Harh                        ]",
    "[Sawan                       ]",
    "[Bhadon                      ]",
    "[Assu                        ]",
    "[Katak                       ]"
  ],

  [self,
    "names:[month name named after the star mansion=, 二十七宿にちなむ月名=, zh:對應於星宿月份名稱=, *alias:BengaliMonth=]",
    "[Ogrôhayôn=]",
    "[Poush=    ]",
    "[Magh=     ]",
    "[Falgun=   ]",
    "[Chôitrô=  ]",
    "[Bôishakh= ]",
    "[Jyôishţhô=]",
    "[Ashaŗh=   ]",
    "[Shrabôn=  ]",
    "[Bhadrô=   ]",
    "[Ashbin=   ]",
    "[Kartik=   ]"
  ]
]]
Jewish =
[self, [
  "locale:[=en:, ja=ja:, zh=zh:, alias]",
  "names:[Jewish=en:Hebrew_calendar, ユダヤ暦, 希伯來曆]",

  [self,
    "names:[IntercalaryMonth=en:Intercalation, 閏月]",
    "[%s I=,  第1=, 第一=]",
    "[%s II=, 第2=, 第二=]",
  ],

  [self,
    "names:[month name=en:Month, 月の名前=ja:%%<月_(暦)>, 該月的名稱=, *alias:Month=]",
    "[Tishrei,  ティシュリー=,   提斯利月]",
    "[Cheshvan, マルヘシュバン=, 瑪西班月]",
    "[Kislev,   キスレーヴ=,     基斯流月]",
    "[Tevet,    テベット=,       提別月  ]",
    "[Shevat,   シュバット=,     細罷特月]",
    "[Adar,     アダル,          亞達月  ]",
    "[Nisan,    ニサン=,         尼散月  ]",
    "[Iyar,     イヤール=,       以珥月  ]",
    "[Sivan,    シバン=,         西彎月  ]",
    "[Tammuz,   タムーズ=,       搭模斯月]",
    "[Av,       アブ=,           埃波月  ]",
    "[Elul,     エルール=,       以祿月  ]"
  ]
]]
Chinese =
[self, [
  "locale:[=ja:, en=en:, zh=zh:, alias]",
  "names:[中国, *China, 中國]",
  "[中国太陽暦(節月)=ja:%%<二十四節気>#%.<暦月と節月>, *ChineseSolar=en:Solar_term], 中國太陽暦(節月)=ja:%%<二十四節気>#%.<暦月と節月>",
  "[中国太陰太陽暦=ja:%%<中国暦>, *ChineseLuniSolar=en:Chinese_calendar, 中國太陰太陽暦=zh:%%<農曆>]",
  "[彝暦=ja:%%<イ族>, *Yi=en:Yi_people, 彝曆=zh:%%<彝族>]",
  "[現代中国=, ModernChinese=, 現代中國=, *Modern=]",

  [self,
    "names:[月の名前=ja:%%<月_(暦)>, month name=en:Month, 該月的名稱=, *alias:Month]",
    "[正月=ja:%%<1月_(旧暦)>,    Month 1= ]",
    "[二月=ja:%%<2月_(旧暦)>,    Month 2= ]",
    "[三月=ja:%%<3月_(旧暦)>,    Month 3= ]",
    "[四月=ja:%%<4月_(旧暦)>,    Month 4= ]",
    "[五月=ja:%%<5月_(旧暦)>,    Month 5= ]",
    "[六月=ja:%%<6月_(旧暦)>,    Month 6= ]",
    "[七月=ja:%%<7月_(旧暦)>,    Month 7= ]",
    "[八月=ja:%%<8月_(旧暦)>,    Month 8= ]",
    "[九月=ja:%%<9月_(旧暦)>,    Month 9= ]",
    "[十月=ja:%%<10月_(旧暦)>,   Month 10=]",
    "[十一月=ja:%%<11月_(旧暦)>, Month 11=]",
    "[十二月=ja:%%<21月_(旧暦)>, Month 12=]"
  ],

  [self,
    "names:[月の名前=ja:%%<月_(暦)>, month name=en:Month, 該月的名稱=, *alias:MonthA=en:Month]",
    "[一月=ja:%%<1月_(旧暦)>,   Month 1= ]",
    "[二月=ja:%%<2月_(旧暦)>,   Month 2= ]",
    "[三月=ja:%%<3月_(旧暦)>,   Month 3= ]",
    "[四月=ja:%%<4月_(旧暦)>,   Month 4= ]",
    "[五月=ja:%%<5月_(旧暦)>,   Month 5= ]",
    "[六月=ja:%%<6月_(旧暦)>,   Month 6= ]",
    "[七月=ja:%%<7月_(旧暦)>,   Month 7= ]",
    "[八月=ja:%%<8月_(旧暦)>,   Month 8= ]",
    "[九月=ja:%%<9月_(旧暦)>,   Month 9= ]",
    "[十月=ja:%%<10月_(旧暦)>,  Month 10=]",
    "[正月=ja:%%<11月_(旧暦)>,  New Year Month=]",
    "[臘月=ja:%%<12月_(旧暦)>,  Month 12=]"
  ],

  [self,
    "names:[月の名前=ja:%%<月_(暦)>, month name=en:Month, 該月的名稱=, *alias:MonthB=en:Month]",
    "[建寅月=ja:%%<1月_(旧暦)>,  Month 3= ]",
    "[建卯月=ja:%%<2月_(旧暦)>,  Month 4= ]",
    "[建辰月=ja:%%<3月_(旧暦)>,  Month 5= ]",
    "[建巳月=ja:%%<4月_(旧暦)>,  Month 6= ]",
    "[建午月=ja:%%<5月_(旧暦)>,  Month 7= ]",
    "[建未月=ja:%%<6月_(旧暦)>,  Month 8= ]",
    "[建申月=ja:%%<7月_(旧暦)>,  Month 9= ]",
    "[建酉月=ja:%%<8月_(旧暦)>,  Month 10=]",
    "[建戌月=ja:%%<9月_(旧暦)>,  Month 11=]",
    "[建亥月=ja:%%<10月_(旧暦)>, Month 12=]",
    "[建子月=ja:%%<11月_(旧暦)>, Month 1= ]",
    "[建丑月=ja:%%<12月_(旧暦)>, Month 2= ]"
  ]
]]
Yi =
[self, [
  "locale:[=ja:, en=en:, zh=zh:, alias]",
  "names:[彝暦=ja:%%<イ族>, *Yi=en:Yi_people, 彝曆=zh:%%<彝族>]",

  [self,
    "names:[月の名前=ja:%%<月_(暦)>, month name=en:Month, 該月的名稱=, *alias:Month]",
    "[木公月=, Month 1= ]",
    "[木母月=, Month 2= ]",
    "[火公月=, Month 3= ]",
    "[火母月=, Month 4= ]",
    "[土公月=, Month 5= ]",
    "[土母月=, Month 6= ]",
    "[銅公月=, Month 7= ]",
    "[銅母月=, Month 8= ]",
    "[水公月=, Month 9= ]",
    "[水母月=, Month 10=]",
    "[過年日=, end of year days=]"
  ]
]]
Goddess =
[self, [
  "locale:[=en:, ja, zh]",
  "names:[ Peter Meyer's Goddes Lunar Calendar=,  Peter Meyer のゴッデス暦=, *alias:Goddess=]",
  "[Goddess(MMG)=http://calendars.wikia.com/wiki/Goddess_Lunar_Calendar, ゴッデス暦(MMG), 女神曆(MMG), *alias:Goddess]",

  [self,
    "names:[month name=en:Month, 月の名前=ja:%%<月_(暦)>, 該月的名稱=, *alias:Month=]",
    "[Athena]", "[Brigid]", "[Cerridwen]", "[Diana ]",
    "[Epona ]", "[Freya ]", "[Gaea     ]", "[Hathor]",
    "[Inanna]", "[Juno  ]", "[Kore     ]", "[Lilith]",
    "[Maria ]"
  ]
]]
Iranian =
[self, [
  "locale:[=en:, ja=ja:, zh=zh:, alias=ja:]",
  "names:[Iranian=en:Iranian_calendars, イラン暦, 伊朗曆]",
  "[SolarHijri=en:Solar_Hijri_calendar#Details_of_the_modern_calendar, ヘジラ太陽暦=ja:%%<イラン暦>, 希吉拉陽曆=zh:%%<伊朗曆>]",
  "[SolarHijri (Combined)=en:Solar_Hijri_calendar#Details_of_the_modern_calendar, ヘジラ太陽暦(多種接続)=ja:%%<イラン暦>, 希吉拉陽曆(連接起來)=zh:%%<伊朗曆>]",
  "[SolarHijriAlgorithmic=en:Solar_Hijri_calendar#Solar_Hijri_algorithmic_calendar, ヘジラ太陽暦(2820年周期)=ja:%%<イラン暦>, 希吉拉陽曆(2820年週期)=zh:%%<伊朗曆>]",
  "[Jalali=en:Jalali_calendar, ジャラーリー暦, 波斯曆=]",
  "[JalaliAlgorithmic=en:Jalali_calendar, ジャラーリー暦(2820年周期)=ja:%%<ジャラーリー暦>, 波斯曆(2820年週期)=]",
  "[Borji=, ボルジ暦=]",

  [self,
  "locale:[=en:, ja=ja:, ar=ar:, alias=ja:]",
    "names:[month name=en:Month, 月の名前=ja:%%<月_(暦)>, zh:該月的名稱=, *alias:Month=]",
    "[Farvardīn=,   ファルヴァルディーン=, فروردین=,  フラワシ             ]",
    "[Ordībehesht=, オルディーベヘシュト=, اردیبهشت=, アシャ・ワヒシュタ   ]",
    "[Khordād=,     ホルダード=,           خرداد=,     ハルワタート        ]",
    "[Tīr=,         ティール=,             تیر=,       ティシュトリヤ      ]",
    "[Mordād=,      モルダード=,           مرداد=,     アムルタート        ]",
    "[Shahrīvar=,   シャハリーヴァル=,     شهریور=,   フシャスラ・ワルヤ   ]",
    "[Mehr=,        メフル=,               مهر=,       ミスラ              ]",
    "[Ābān=,        アーバーン=,           آبان=,      アープ              ]",
    "[Āzar=,        アーザル=,             آذر=,       アータル            ]",
    "[Dei=,         デイ=,                 دی=,        アフラ・マズダー    ]",
    "[Bahman=,      バフマン=,             بهمن=,      ウォフ・マナフ      ]",
    "[Esfand=,      エスファンド=,         اسفند=,   スプンタ・アールマティ]",
    "[Andarjah=]"
  ],

  [self,
    "names:[Sign=en:Astrological_sign, 十二宮]",
    "[Hamal=,   白羊宮]",
    "[Thur=,    金牛宮]",
    "[Jawzā=,   双児宮]",
    "[Saratān=, 巨蟹宮]",
    "[Asad=,    獅子宮]",
    "[Sunbula=, 処女宮]",
    "[Mizān=,   天秤宮]",
    "['Aqrab=,  天蝎宮]",
    "[Qaws=,    人馬宮]",
    "[Jadi=,    磨羯宮]",
    "[Dalw=,    宝瓶宮]",
    "[Hūt=,     双魚宮]"
  ]
]]
Islamic =
[self, [
  "locale:[=en:, ja=ja:, zh=zh:, ar=ar:, alias]",
  "names:[Islamic=en:Islamic_calendar, イスラーム暦=ja:%%<ヒジュラ暦>, 伊斯蘭曆]",
  "[TabularIslamic=en:Islamic_calendar, イスラーム暦(30年周期)=ja:%%<ヒジュラ暦>, 伊斯蘭曆]",
  "[EphemerisBasedIslamic=en:Islamic_calendar, イスラーム暦=ja:%%<ヒジュラ暦>, 伊斯蘭曆]",

  [self,
    "names:[month name=en:Month, 月の名前=ja:%%<月_(暦)>, 該月的名稱=, *alias:Month=]",
    "[Muharram,                         ムハッラム=,                  穆哈蘭姆月,       محرم]",
    "[Safar,                            サファル=,                    色法爾月,         صفر]",
    "[Rabi'_al-awwal,                   ラビーウ・アル=アウワル=,    賴比爾·敖外魯月,  ربيع الأول]",
    "[Rabi'_al-thani,                   ラビーウ・アル=サーニー=,    賴比爾·阿色尼月,  ربيع الآخر]",
    "[Jumada_al-awwal,                  ジュマーダー・アル=アウワル=,主馬達·敖外魯月=, جمادى الأولى]",
    "[Jumada_al-Thani,                  ジュマーダー・アル=サーニー=,主馬達·阿色尼月=, جمادى الآخرة]",
    "[Rajab,                            ラジャブ=,                    賴哲卜月=,        رجب]",
    "[Sha'aban,                         シャアバーン=,                舍爾邦月,         شعبان]",
    "[Ramadan=en:Ramadan_(calendar_month), ラマダーン,                賴買丹月,         رمضان]",
    "[Shawwal,                          シャウワール=,                閃瓦魯月,         شوال]",
    "[Dhu_al-Qi'dah,                    ズー・アル=カーイダ=,        都爾喀爾德月=,    ذو القعدة]",
    "[Dhu_al-Hijjah,                    ズー・アル=ヒッジャ=,        都爾黑哲月,       ذو الحجة]"
  ]
]]
Martian =
[self, [
  "locale:[=en:, ja=ja:, zh=zh:, alias]",
  "names:[Martian=en:Mars, 火星, 火星]",
  "[Darian=en:Darian_calendar, ダリアン暦, 大流士火星曆]",

  [self,
    "names:[month name named after the zodiac=, 黄道十二宮にちなむ月名=, 對應於黃道十二宮月份名稱=, *alias:DarianMonth=]",
    "[Sagittarius, いて=    ]",
    "[Dhanus=,     人馬=    ]",
    "[Capricornus, やぎ=    ]",
    "[Makara=,     磨羯=    ]",
    "[Aquarius,    みずがめ=]",
    "[Kumbha=,     宝瓶=    ]",
    "[Pisces,      うお=    ]",
    "[Mina=,       双魚=    ]",
    "[Aries,       おひつじ=]",
    "[Mesha=,      白羊=    ]",
    "[Taurus,      おうし=  ]",
    "[Rishabha=,   金牛=    ]",
    "[Gemini,      ふたご=  ]",
    "[Mithuna=,    双児=    ]",
    "[Cancer,      かに=    ]",
    "[Karka=,      巨蟹=    ]",
    "[Leo,         しし=    ]",
    "[Simha=,      獅子=    ]",
    "[Virgo,       おとめ=  ]",
    "[Kanya=,      処女=    ]",
    "[Libra,       てんびん=]",
    "[Tula=,       天秤=    ]",
    "[Scorpius,    さそり=  ]",
    "[Vrishika=,   天蠍=    ]"
  ]
]]
Tibetan =
[self, [
  "locale:[=en:, ja=ja:, zh=zh:, hi=hi:, alias]",
  "names:[Tibetan=en:Tibetan_calendar, 時輪暦=ja:%%<チベット暦>, 藏曆]",

  [self,
    "names:[Month=, 月の名前=, 該月的名稱=, *alias:IntercalaryMonth=en:Intercalation]",
    "[%s=,        %s宿月=,   %s宿月=,   _IAST_=]",
    "[adhika %s=, 閏%s宿月=, 閏%s宿月=, _IAST_=]"
  ],

  [self,
    "names:[IntercalaryDay=en:Intercalation, 閏日=ja:%%<閏>]",
    "[%s and next day=, %sと翌日=, %s和第二天=]",
    "[Intercalary %s=,  重%s=,     重%s=      ]"
  ],

  [self,
    "names:[month name=en:Month, 月の名前=ja:%%<月_(暦)>, 該月的名稱=, *alias:Month=]",
    "[Mārgaśīra=en:Margashirsha,   觜=ja:%%<觜宿>, 觜=zh:%%<觜宿>, _IAST_=]",
    "[Pauṣa=en:Pausha,             鬼=ja:%%<鬼宿>, 鬼=zh:%%<鬼宿>, _IAST_=]",
    "[Māgha=en:Maagha,             星=ja:%%<星宿>, 星=zh:%%<星宿>, _IAST_=]",
    "[Phālguna=en:Phalguna,        翼=ja:%%<翼宿>, 翼=zh:%%<翼宿>, _IAST_=]",
    "[Caitra=en:Chaitra,           角=ja:%%<角宿>, 角=zh:%%<角宿>, _IAST_=]",
    "[Vaiśākha=en:Vaisakha,        氐=ja:%%<氐宿>, 氐=zh:%%<氐宿>, _IAST_=]",
    "[Jyaiṣṭha=en:Jyeshta,         心=ja:%%<心宿>, 心=zh:%%<心宿>, _IAST_=]",
    "[Āṣāḍha=en:Aashaadha,         箕=ja:%%<箕宿>, 箕=zh:%%<箕宿>, _IAST_=]",
    "[Śrāvaṇa=en:Shraavana,        牛=ja:%%<牛宿>, 牛=zh:%%<牛宿>, _IAST_=]",
    "[Bhādrapada=en:Bhadrapada,    室=ja:%%<室宿>, 室=zh:%%<室宿>, _IAST_=]",
    "[Āśvina=en:Ashwin,            婁=ja:%%<婁宿>, 婁=zh:%%<婁宿>, _IAST_=]",
    "[Kārttika=en:Kartika_(month), 昴=ja:%%<昴宿>, 昴=zh:%%<昴宿>, _IAST_=]"
  ]
]]
Armenian =
[self, [
  "locale:[=en:, ja=ja:, zh=zh:, alias]",
  "names:[Armenian=en:Armenian_calendar, アルメニア暦=, 亞美尼亞曆=zh:%%<亞美尼亞曆法>]",

  [self,
    "names:[month name=en:Month, 月の名前=ja:%%<月_(暦)>, 該月的名稱=, *alias:Month=]",
    "[nawasard= ]",
    "[hoṙi=     ]",
    "[sahmi=    ]",
    "[trē=      ]",
    "[kʿałocʿ=  ]",
    "[aracʿ=    ]",
    "[mehekan=  ]",
    "[areg=     ]",
    "[ahekan=   ]",
    "[mareri=   ]",
    "[margacʿ=  ]",
    "[hroticʿ=  ]",
    "[epagomenê=]"
  ]
]]
Balinese =
[self, [
  "locale:[=en:, ja=ja:, alias]",
  "names:[Balinese=]",
  "[BalineseLuniSolar=, バリ・サカ暦=, zh:峇里陰陽曆=]",
  "[Tenganan, テンガナン暦=]",

  [self,
    "names:[HalfMonth=, 半月=, zh:半月=, *IntercalaryMonth=en:Intercalation]",
    "[%s Suklapaksa=,      %s 白分=  ]",
    "[%s Krsnapaksa=,      %s 黒分=  ]",
    "[Mala %s Suklapaksa=, 閏%s 白分=]",
    "[Mala %s Krsnapaksa=, 閏%s 黒分=]"
  ],

  [self,
    "names:[IntercalaryDay=en:Intercalation, 閏日=ja:%%<閏>]",
    "[Double %s=,           欠=       ]"
  ],

  [self,
    "names:[HinduMonth=, ヒンドゥ月=, zh:印度月=]",
    "[Kelima=,    5月=]",
    "[Kenem=,     6月=]",
    "[Kepitu=,    7月=]",
    "[Kewulu=,    8月=]",
    "[Kesanga=,   9月=]",
    "[Kedasa=,   10月=]",
    "[Jiyestha=, 11月=]",
    "[Sadha=,    12月=]",
    "[Kasa=,      1月=]",
    "[Karo=,      2月=]",
    "[Ketiga=,    3月=]",
    "[Kapat=,     4月=]"
  ],

  [self,
    "names:[TengananMonth=, テンガナン月=, zh:印度月=]",
    "[Kelima=,      5月=]",
    "[Kanem=,       6月=]",
    "[Kepitu=,      7月=]",
    "[Kolu=,        8月=]",
    "[Kesanga=,     9月=]",
    "[Kedasa=,     10月=]",
    "[Desta=,      11月=]",
    "[Sadda=,      12月=]",
    "[Kasa=,        1月=]",
    "[Karo=,        2月=]",
    "[Ketiga=,      3月=]",
    "[Kapat=,       4月=]",
    "[Kapat Sep=, 閏4月=]"
  ]
]]
Japanese =
[self, [
  "locale:[=ja:, en=en:, alias=ja:]",
  "names:[日本, Japan]",
  "[現代日本=, ModernJapanese=, *Modern=]",

  # Remarks
  "[典拠 - 科研22520700=," +
  "*based on Research Project 22520700=http://suchowan.at.webry.info/201401/article_25.html]",

  [self,
    "names:[月の名前=ja:%%<月_(暦)>, month name=en:Month, zh:該月的名稱=, *alias:Month]",
    "[正月=ja:%%<1月_(旧暦)>,    Month 1=,  睦月  ]",
    "[二月=ja:%%<2月_(旧暦)>,    Month 2=,  如月  ]",
    "[三月=ja:%%<3月_(旧暦)>,    Month 3=,  弥生  ]",
    "[四月=ja:%%<4月_(旧暦)>,    Month 4=,  卯月  ]",
    "[五月=ja:%%<5月_(旧暦)>,    Month 5=,  皐月  ]",
    "[六月=ja:%%<6月_(旧暦)>,    Month 6=,  水無月]",
    "[七月=ja:%%<7月_(旧暦)>,    Month 7=,  文月  ]",
    "[八月=ja:%%<8月_(旧暦)>,    Month 8=,  葉月  ]",
    "[九月=ja:%%<9月_(旧暦)>,    Month 9=,  長月  ]",
    "[十月=ja:%%<10月_(旧暦)>,   Month 10=, 神無月]",
    "[十一月=ja:%%<11月_(旧暦)>, Month 11=, 霜月  ]",
    "[十二月=ja:%%<12月_(旧暦)>, Month 12=, 師走  ]"
  ],

  [self,
    "names:[源氏物語, The_Tale_of_Genji]",
    "[桐壺,                            Kiritsubo=,         ]",
    "[帚木=ja:%%<帚木_(源氏物語)>,     Hahakigi=,          ]",
    "[空蝉=ja:%%<空蝉_(源氏物語)>,     Utsusemi=,          ]",
    "[夕顔=ja:%%<夕顔_(源氏物語)>,     Yūgao=,             ]",
    "[若紫,                            Wakamurasaki=,      ]",
    "[末摘花=ja:%%<末摘花_(源氏物語)>, Suetsumuhana,       ]",
    "[紅葉賀,                          Momiji no Ga=,      ]",
    "[花宴,                            Hana no En=,        ]",
    "[葵=ja:%%<葵_(源氏物語)>,         Aoi=,               ]",
    "[賢木,                            Sakaki=,            ]",
    "[花散里,                          Hana Chiru Sato=,   ]",
    "[須磨=ja:%%<須磨_(源氏物語)>,     Suma=,              ]",
    "[明石=ja:%%<明石_(源氏物語)>,     Akashi=,            ]",
    "[澪標=ja:%%<澪標_(源氏物語)>,     Miotsukushi=,       ]",
    "[蓬生,                            Yomogiu=,           ]",
    "[関屋=ja:%%<関屋_(源氏物語)>,     Sekiya=,            ]",
    "[絵合,                            E Awase=,           ]",
    "[松風=ja:%%<松風_(源氏物語)>,     Matsukaze=,         ]",
    "[薄雲,                            Usugumo=,           ]",
    "[朝顔=ja:%%<朝顔_(源氏物語)>,     Asagao=,            ]",
    "[少女=ja:%%<少女_(源氏物語)>,     Otome=,             ]",
    "[玉鬘=ja:%%<玉鬘_(源氏物語)>,     Tamakazura=,        ]",
    "[初音=ja:%%<初音_(源氏物語)>,     Hatsune=,           ]",
    "[胡蝶=ja:%%<胡蝶_(源氏物語)>,     Kochō=,             ]",
    "[蛍=ja:%%<蛍_(源氏物語)>,         Hotaru=,            ]",
    "[常夏,                            Tokonatsu=,         ]",
    "[篝火,                            Kagaribi=,          ]",
    "[野分=ja:%%<野分_(源氏物語)>,     Nowaki=,            ]",
    "[行幸=ja:%%<行幸_(源氏物語)>,     Miyuki=,            ]",
    "[藤袴,                            Fujibakama=,        ]",
    "[真木柱,                          Makibashira=,       ]",
    "[梅枝,                            Mume ga E=,         ]",
    "[藤裏葉,                          Fuji no Uraba=,     ]",
    "[若菜=ja:%%<若菜_(源氏物語)>,     Wakana=,            ]",
    "[柏木=ja:%%<柏木_(源氏物語)>,     Kashiwagi=,         ]",
    "[横笛=ja:%%<横笛_(源氏物語)>,     Yokobue=,           ]",
    "[鈴虫,                            Suzumushi=,         ]",
    "[夕霧=ja:%%<夕霧_(源氏物語)>,     Yūgiri=,            ]",
    "[御法,                            Minori=,            ]",
    "[幻=ja:%%<幻_(源氏物語)>,         Maboroshi=,         ]",
    "[匂宮,                            Niō Miya=,          ]",
    "[紅梅=ja:%%<紅梅_(源氏物語)>,     Kōbai=,             ]",
    "[竹河,                            Takekawa=,          ]",
    "[橋姫=ja:%%<橋姫_(源氏物語)>,     Hashihime=,         ]",
    "[椎本,                            Shī ga Moto=,       ]",
    "[総角=ja:%%<総角_(源氏物語)>,     Agemaki=,           ]",
    "[早蕨,                            Sawarabi=,          ]",
    "[宿木,                            Yadorigi=,          ]",
    "[東屋,                            Azumaya=,           ]",
    "[浮舟=ja:%%<浮舟_(源氏物語)>,     Ukifune,            ]",
    "[蜻蛉=ja:%%<蜻蛉_(源氏物語)>,     Kagerō=,            ]",
    "[手習,                            Tenarai=,           ]",
    "[夢浮橋,                          Yume no Ukihashi=,  ]"
  ]
]]
JapaneseHoliday =
[self, [
  "locale:[=ja:, en=en:, zh=zh:, alias=ja:]",
  "names:[日本の祝祭日=ja:%%<国民の祝日>, JapaneseHoliday=en:Public_holidays_in_Japan, 日本假期=zh:日本公共假日]",
  "[元旦,                         New Year's Day            ]",
  "[四方拝,                       New Year's Day            ]",
  "[元日,                         New Year's Day            ]",
  "[元始祭,                       New Year's Party=         ]",
  "[新年宴会,                     New Year's Party=         ]",
  "[成人の日,                     Coming of Age Day         ]",
  "[小正月,                       First Full Moon Festival  ]",
  "[紀元節,                       National Foundation Day   ]",
  "[建国記念の日,                 National Foundation Day   ]",
  "[天長節,                       The Emperor's Birthday    ]",
  "[天皇誕生日,                   The Emperor's Birthday    ]",
  "[みどりの日,                   Greenery Day              ]",
  "[昭和の日,                     Shōwa Day                 ]",
  "[退位の日=,                    Day of Abdication=]",
  "[即位の日=,                    Coronation Day of the new Emperor=]",
  "[憲法記念日,                   Constitution Memorial Day ]",
  "[こどもの日,                   Children's Day (Japan)    ]",
  "[七夕節句=ja:%%<七夕>,         Qixi Festival             ]",
  "[お盆,                         Bon Festival              ]",
  "[海の日,                       Marine Day                ]",
  "[山の日,                       Mountain Day=             ]",
  "[重陽節句,                     Double Ninth Festival     ]",
  "[敬老の日,                     Respect for the Aged Day  ]",
  "[神嘗祭,                       Kan'namesai=              ]",
  "[体育の日,                     Health and Sports Day     ]",
  "[スポーツの日,                 Sports Day                ]",
  "[春季皇霊祭,                   Vernal Kōreisai=en:K%C5%8Dreisai           ]",
  "[春分の日,                     Vernal Equinox Day                         ]",
  "[秋季皇霊祭,                   Autumnal Kōreisai=en:K%C5%8Dreisai         ]",
  "[秋分の日,                     Autumnal Equinox Day                       ]",
  "[明治節,                       The emperor Maiji's Birthday=en:Culture_Day]",
  "[文化の日,                     Culture Day                                ]",
  "[大嘗祭,                       Enthronement of the Japanese Emperor=      ]",
  "[大饗第1日,                    Enthronement of the Japanese Emperor=      ]",
  "[新嘗祭,                       Labor Thanksgiving Day                     ]",
  "[勤労感謝の日,                 Labor Thanksgiving Day                     ]",
  "[振替休日,                     Substitute holiday                         ]",
  "[国民の休日,                   National Day Off=                          ]",
  "[即位の礼,                     Enthronement of the Japanese Emperor=      ]",
  "[即位礼正殿の儀,               Enthronement of the Japanese Emperor=]",
  "[神武天皇祭,                   EmperorJimmu's Death anniversary=          ]",
  "[孝明天皇祭=ja:%%<先帝祭>,     Emperor Kōmei's Death anniversary=         ]",
  "[明治天皇祭=ja:%%<先帝祭>,     Emperor Meiji's Death anniversary=         ]",
  "[大正天皇祭=ja:%%<先帝祭>,     Emperor Taishō's Death anniversary=        ]",
  "[神武天皇即位日=ja:%%<紀元節>, National Foundation Day                    ]",
  "[弥生節句=ja:%%<上巳>,         Double Third Festival=                     ]",
  "[端午節句=ja:%%<端午>,         Double Fifth Festival=                     ]",
  "[田実節句=ja:%%<八朔>,         Hassaku=                                   ]",
  "[皇大神宮遷御当日=ja:%%<神宮式年遷宮>,            Rebuilding the Ise Grand Shrine= ]",
  "[皇太子明仁親王の結婚の儀=ja:%%<結婚の儀>,        Prince Akihito's wedding=        ]",
  "[皇太子徳仁親王の結婚の儀=ja:%%<結婚の儀>,        Prince Naruhito's wedding=       ]",
  "[天長節祝日=ja:%%<天皇誕生日>#%.<近世・現代>,     Emperor Taishō's Birth holiday=  ]",
  "[昭和天皇の大喪の礼=ja:%%<大喪の礼>#%.<昭和天皇>, Emperor Shōwa's funeral ceremony=]"
]]
Javanese =
[self, [
  "locale:[=en:, ja=ja:, zh=zh:, alias]",
  "names:[Javanese=en:Java, ジャワ=ja:ジャワ島, 爪哇=zh:爪哇岛]",
  "[JavaneseLunar=, ジャワ・イスラーム暦=, 爪哇伊斯蘭曆=]",
  "[Pranatamangsa=, プラノトモンソ=]",

  [self,
    "names:[HinduMonth=, ヒンドゥ月=, 印度月=]",
    "[Kalima=,      5月=]",
    "[Kanem=,       6月=]",
    "[Kapitu=,      7月=]",
    "[Kawolu=,      8月=]",
    "[Kasanga=,     9月=]",
    "[Kasapuluh=,  10月=]",
    "[Dhestal=,    11月=]",
    "[Sadha=,      12月=]",
    "[Kasa=,        1月=]",
    "[Karo=,        2月=]",
    "[Katelu=,      3月=]",
    "[Kapat=,       4月=]"
  ],

  [self,
    "names:[IslamicMonth=, イスラーム月=, 伊斯蘭月=]",
    "[Suro=,        1月=]",
    "[Sapar=,       2月=]",
    "[Mulud=,       3月=]",
    "[Bakdomulud=,  4月=]",
    "[Jumadilawal=, 5月=]",
    "[Jumadilakir=, 6月=]",
    "[Rejeb=,       7月=]",
    "[Ruwah=,       8月=]",
    "[Poso=,        9月=]",
    "[Sawal=,      10月=]",
    "[Dulkaidah=,  11月=]",
    "[Besar=,      12月=]"
  ]
]]
Symmetry =
[self, [
  "locale:[=en:, ja, zh]",
  "names:[Dr. Irv Bromberg's Symmetry Calendar=, Bromberg博士の対称暦=, *alias:Symmetry]",
  "[Sym454=en:Symmetry454, 対称454暦=, 対称454曆=]",
  "[Sym010=http://individual.utoronto.ca/kalendis/classic.htm, 対称010暦=, 対称010曆=]"
]]
WeekDate =
[self, [
  "locale:[=en:, ja, zh]",
  "names:[WeekDate=en:ISO_week_date, 暦週=, 曆週=]",
  [self, "names:[week, 週, 星期]"] + (1...100).to_a.map {|m| "[Week #{m}=, ja:第#{m}週=, zh:第#{m}週=]"},
]]
Christian =
[self, [
  "namespace:[wiki=http://www2u.biglobe.ne.jp/~suchowan/wiki/]",
  "locale:[=en:, ja=ja:, zh=zh:, kr=ko:, kp=ko:, ko=ko:, alias]",
  "names:[Christian=en:Christianity, キリスト教, 基督教]",
  "[Julian=en:Julian_calendar,                ユリウス暦    , 儒略曆, era:J]",
  "[Gregorian=en:Gregorian_calendar,          グレゴリオ暦  , 格里曆, era:G]",
  "[RevisedJulian=en:Revised_Julian_calendar, 修正ユリウス暦, 儒略改革曆]",
  "[Swedish=en:Swedish_calendar,              スウェーデン暦, 瑞典曆]",
  "[Customizable Western=wiki:pref_examples_en.html," +
  "西暦(カスタマイズ可能)=wiki:pref_examples.html," +
  "西元(可定制)=wiki:pref_examples.html," +
  "서력기원(사용자정의)=wiki:pref_examples.html," +
  "서력기원(사용자정의)=wiki:pref_examples.html," +
  "서력기원(사용자정의)=wiki:pref_examples.html, *alias:Civil]"
]]
AncientOrient =
[self, [
  "locale:[=en:, ja=ja:, zh=zh:, alias]",
  "names:[AncientOrient=en:Ancient_Orient, 古代オリエント, 古代近東]",
  "[Babylonian=en:Babylonian_calendar, バビロニア暦, 巴比倫尼亞曆=]",
  "[Seleucid=en:Seleucid_era, セレウコス紀元=, 塞琉古紀年=]",
  "[Hellenistic=en:Hellenistic_period, ヘレニズム, 希臘化時代]",

  # Remarks
  '[based on Chris Bennett "Babylonian and Seleucid Dates" (Retrieved 2014-06-29)=http://suchowan.at.webry.info/201407/article_8.html,' +
   '典拠 - Chris Bennett "Babylonian and Seleucid Dates" (2014-06-29 閲覧)=]',

  '[based on R.A.Parker & W.H.Dubberstein "Babylonian Chronology 626B.C.-A.D.75"=http://suchowan.at.webry.info/201407/article_23.html,' +
   '典拠 - R.A.Parker & W.H.Dubberstein "Babylonian Chronology 626B.C.-A.D.75"=]',

  [self,
    "names:[IntercalaryMonth=en:Intercalation, 閏月]",
    "[%s I=,  第1=, 第一=]",
    "[%s II=, 第2=, 第二=]",
  ],

  [self,
    "names:[BabylonianMonth=en:Month, 月=ja:%%<月_(暦)>]",
    "[Nisānu=  ]",
    "[Āru=     ]",
    "[Simanu=  ]",
    "[Dumuzu=  ]",
    "[Abu=     ]",
    "[Ulūlu=   ]",
    "[Tišritum=]",
    "[Samna=   ]",
    "[Kislimu= ]",
    "[Ṭebētum= ]",
    "[Šabaṭu=  ]",
    "[Addaru=  ]"
  ],

  [self,
    "names:[SeleucidMonth=en:Month, 月=ja:%%<月_(暦)>]",
    "[Artemisios=    ]",
    "[Daisios=       ]",
    "[Panemos=       ]",
    "[Loios=         ]",
    "[Gorpiaios=     ]",
    "[Hyperberetaios=]",
    "[Dios=          ]",
    "[Apellaios=     ]",
    "[Audnaios=      ]",
    "[Peritios=      ]",
    "[Dystros=       ]",
    "[Xandikos=      ]"
  ]
]]
Discordian =
[self, [
  "locale:[=en:, ja=ja:]",
  "names:[Discordian=en:Discordian_calendar, ディスコーディアン暦=]",
  [self,
    "names:[IntercalaryDay=en:Intercalation, 閏日=ja:%%<閏>]",
    "[%0sSt. Tib's Day=, %0s閏日=]"
  ]
]]
Positivist =
[self, [
  "locale:[=en:, ja=ja:, alias]",
  "names:[Positivist=]",
  "[Positivist=en:Positivist_calendar, オーギュスト・コントの暦=ja:%%<13の月の暦>#%.<実証暦>]"
]]
Vietnamese =
[self, [
  "locale:[=en:, ja=ja:, zh=zh:, alias]",
  "names:[Vietnam, ベトナム, 越南]"
]]
HankeHenry =
[self, [
  "locale:[=en:, ja]",
  "names:[HankeHenry=]",
  "[HankeHenry=en:Hanke-Henry_Permanent_Calendar, ハンキ=ヘンリー暦=ja:%%<ハンキ=ヘンリー・パーマネント・カレンダー>]",

  [self,
    "names:[month name=en:Month, 月の名前=ja:%%<月_(暦)>, zh:該月的名稱=, *alias:Month=]",
    "[January,   1月, /date/month_names/1] ",
    "[February,  2月, /date/month_names/2] ",
    "[March,     3月, /date/month_names/3] ",
    "[April,     4月, /date/month_names/4] ",
    "[May,       5月, /date/month_names/5] ",
    "[June,      6月, /date/month_names/6] ",
    "[July,      7月, /date/month_names/7] ",
    "[August,    8月, /date/month_names/8] ",
    "[September, 9月, /date/month_names/9] ",
    "[October,  10月, /date/month_names/10]",
    "[November, 11月, /date/month_names/11]",
    "[December, 12月, /date/month_names/12]",
    "[Xtra=en:Hanke-Henry_Permanent_Calendar, 追加週=ja:%%<ハンキ=ヘンリー・パーマネント・カレンダー>]" # Leap week
  ]
]]
Tranquility =
[self, [
  "locale:[=en:, ja=ja:, zh=zh:, alias]",
  "names:[Tranquility=en:Tranquility_Calendar, 静かの海の暦=, 静海曆=]",

  [self,
    "names:[IntercalaryDay=en:Intercalation, 閏日=ja:%%<閏>]",
    "[%0sAldrin Day=, %0s閏日=]"
  ]
]]
Zoroastrian =
[self, [
  "locale:[=en:, ja=ja:, zh=zh:, alias=ja:]",
  "names:[Zoroastrian=en:Zoroastrian_calendar,                    ゾロアスター暦=, 瑣羅亞斯德曆=]",
  "[Zoroastrian=en:Zoroastrian_calendar#The_reckoning_of_years,   ゾロアスター暦=, 瑣羅亞斯德曆=]",
  "[Qadimi=en:Zoroastrian_calendar#The_Qadimi_calendar,           カディミ暦=    ]",
  "[Shahanshahi=en:Zoroastrian_calendar#The_Shahanshahi_calendar, 諸王の王の暦=, 王里面王曆=]",
  "[Fasli=en:Zoroastrian_calendar#The_Fasli_calendar,             ファスリ暦=    ]"
]]
WorldSeason =
[self, [
  "locale:[=en:, ja=ja:, alias]",
  "names:[WorldSeason=]",
  "[WorldSeason=http://calendars.wikia.com/wiki/World_Season_Calendar, アシモフの季節暦=]"
]]
ChineseLuniSolarHoliday =

節日の名称

[self, [
  "locale:[=ja:, en=en:, zh=zh:, alias=ja:]",
  "names:[節日=,          *Holiday=,                歲時節日=]", # 節句など
  "[元日,                 New Year's Day,           春節     ]",
  "[人日,                 Renri,                    人日     ]",
  "[小正月,               First Full Moon Festival, 元宵節   ]",
  "[弥生節句=ja:%%<上巳>, Double Third Festival=,   上巳節   ]",
  "[端午節句=ja:%%<端午>, Double Fifth Festival=,   端午節   ]",
  "[七夕節句=ja:%%<七夕>, Qixi Festival,            七夕     ]",
  "[お盆,                 Bon Festival,             中元節   ]",
  "[田実節句=ja:%%<八朔>, Hassaku=,                 八朔=    ]",
  "[重陽節句,             Double Ninth Festival,    重陽節   ]"
]]
SaudiArabia =
[self, [
  "locale:[=en:, ja=ja:, zh=zh:, alias]",
  "names:[SaudiArabia=en:Saudi_Arabia, サウジアラビア, 沙特阿拉伯]",
  "[UmmalquraSolar=http://www.staff.science.uu.nl/~gent0113/islam/ummalqura_solar.htm, サウジアラビア太陽暦=, 沙特阿拉伯太陽曆, era:AH=]",

  [self,
    "locale:[=en:, ja=ja:, alias=en:]",
    "names:[month name named after the zodiac=, 黄道十二宮にちなむ月名=, zh:對應於黃道十二宮月份名稱=, *alias:SolarMonth=]",
    "[al-Mīzān=,     天秤宮,     Libra      ]",
    "[al-ʿAqrab=,    天蝎宮,     Scorpio    ]",
    "[al-Qaws=,      人馬宮,     Sagittarius]",
    "[al-Jady=,      磨羯宮,     Capricorn  ]",
    "[al-Dalw=,      宝瓶宮,     Aquarius   ]",
    "[al-Ḥūt=,       双魚宮,     Pisces     ]",
    "[al-Ḥamal=,     白羊宮,     Aries      ]",
    "[al-Thawr=,     金牛宮,     Taurus     ]",
    "[al-Jawzāʾ=,    双児宮,     Gemini     ]",
    "[al-Saraṭān=,   巨蟹宮,     Cancer     ]",
    "[al-Asad=,      獅子宮,     Leo        ]",
    "[al-Sunbula=,   処女宮,     Virgo      ]"
  ],

]]
InternationalFixed =
[self, [
  "locale:[=en:, ja=ja:, zh=zh:, alias]",
  "names:[InternationalFixed=en:International_Fixed_Calendar, 国際固定暦, 国際固定曆=]"
]]
VanishingLeprechaun =
[self, [
  "locale:[=en:, ja]",
  "names:[VanishingLeprechaun=http://suchowan.at.webry.info/201110/article_12.html, 消える小妖精=]"
]]

Constants included from Parts::Resource

Parts::Resource::ConstList, Parts::Resource::ConstTypes, Parts::Resource::IRIDecode, Parts::Resource::IRIDecodeTable, Parts::Resource::IRIEncode, Parts::Resource::IRIEncodeTable, Parts::Resource::IRIHeader, Parts::Resource::LabelProperty

Constants included from Namespace

Namespace::DC, Namespace::DCQ, Namespace::DCT, Namespace::FOAF, Namespace::OWL, Namespace::RDF, Namespace::RDFC, Namespace::RDFS, Namespace::RSS, Namespace::XSD

Constants included from Locale

Locale::AKT, Locale::AKT_keys, Locale::ChineseParser, Locale::DateParser, Locale::DefaultAlias, Locale::DefaultNamespaces, Locale::DefaultUnification, Locale::DigitMap, Locale::DigitParser, Locale::EastAsiaCC, Locale::EasternParser, Locale::Escape, Locale::IAST, Locale::IASTR, Locale::IAST_K, Locale::IAST_K_keys, Locale::JapaneseParser, Locale::KoreanParser, Locale::Link, Locale::Locale_af, Locale::Locale_ar, Locale::Locale_az, Locale::Locale_bg, Locale::Locale_bn, Locale::Locale_bs, Locale::Locale_ca, Locale::Locale_cs, Locale::Locale_cy, Locale::Locale_da, Locale::Locale_de, Locale::Locale_de_AT, Locale::Locale_de_CH, Locale::Locale_el, Locale::Locale_en, Locale::Locale_en_AU, Locale::Locale_en_CA, Locale::Locale_en_GB, Locale::Locale_en_IE, Locale::Locale_en_IN, Locale::Locale_en_NZ, Locale::Locale_en_US, Locale::Locale_en_ZA, Locale::Locale_eo, Locale::Locale_es, Locale::Locale_es_419, Locale::Locale_es_AR, Locale::Locale_es_CL, Locale::Locale_es_CO, Locale::Locale_es_CR, Locale::Locale_es_EC, Locale::Locale_es_MX, Locale::Locale_es_PA, Locale::Locale_es_PE, Locale::Locale_es_US, Locale::Locale_es_VE, Locale::Locale_et, Locale::Locale_eu, Locale::Locale_fa, Locale::Locale_fi, Locale::Locale_fr, Locale::Locale_fr_CA, Locale::Locale_fr_CH, Locale::Locale_gl, Locale::Locale_he, Locale::Locale_hi, Locale::Locale_hi_IN, Locale::Locale_hr, Locale::Locale_hu, Locale::Locale_id, Locale::Locale_is, Locale::Locale_it, Locale::Locale_it_CH, Locale::Locale_ja, Locale::Locale_kn, Locale::Locale_ko, Locale::Locale_lo, Locale::Locale_lt, Locale::Locale_lv, Locale::Locale_mk, Locale::Locale_mn, Locale::Locale_ms, Locale::Locale_nb, Locale::Locale_ne, Locale::Locale_nl, Locale::Locale_nn, Locale::Locale_or, Locale::Locale_pl, Locale::Locale_pt, Locale::Locale_pt_BR, Locale::Locale_rm, Locale::Locale_ro, Locale::Locale_ru, Locale::Locale_sk, Locale::Locale_sl, Locale::Locale_sr, Locale::Locale_sv, Locale::Locale_sw, Locale::Locale_ta, Locale::Locale_th, Locale::Locale_tl, Locale::Locale_tr, Locale::Locale_uk, Locale::Locale_ur, Locale::Locale_uz, Locale::Locale_vi, Locale::Locale_wo, Locale::Locale_zh, Locale::Locale_zh_CN, Locale::Locale_zh_HK, Locale::Locale_zh_TW, Locale::Locale_zh_YUE, Locale::NUL, Locale::NumAlter1, Locale::NumAlter2, Locale::NumMap, Locale::NumRExp1, Locale::NumRExp3, Locale::NumRExp4, Locale::Numbers, Locale::Ref, Locale::RegExpEastAsia, Locale::TimeParser, Locale::WikipediaLinks

Instance Attribute Summary collapse

Attributes included from Parts::Resource

#_pool, #child, #keys, #locale, #namespace

Attributes included from Locale

#keys, #link, #names, #values

Attributes inherited from Code

#code_space

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Parts::Resource

#[], #^, _abbreviation_to_iri, _decode, _encode, _extract_prefix, _instance, _instantiate, _parse, _path_with_prefix, _replace_tags, _setup_, _setup_info, _simplify_path, base_uri, #each, #enum_for, #hierarchy, #include?, #included?, #iri, #leaf?, #m17n, #map, #parent, #registered?, root_dir

Methods included from Parts::Resource::Pool

#[], #[]=, #_pool, #_setup_, #pool_keys

Methods included from Parts::Resource::Synchronize

#synchronize

Methods included from Locale

#+, #=~, #[], _dbpedia, _get_locale, _hash_key, _hash_value, _locale, _method_missing, _namespace, #_printf, _setup_, _setup_info, _split, _split_with_rfc6868_escape, _to_date_time_hash, _unification, akt, #dbpedia, iast_akt, ideographic_unification, #ideographic_unification, #index, k2a_digits, method_missing, #prefix, #reference, #translate, translate, transliteration_keys, transliteration_keys_hash, #update, z2h_digits

Methods inherited from String

#^, #calendar, #calendar_era, #calendar_note, #clock, #encode, #era, #ideographic_unification, #m17n, #ord, #resource, #to_month_name, #to_pair, #to_r, #to_residue, #translate, #when?

Methods included from EncodingConversion

#+@, #-@

Constructor Details

#initialize(names, namespace = {}, locale = []) ⇒ M17n

オブジェクトの生成

Examples:

M17n.new(['3月', 'fr:Mars=https://fr.wikipedia.org/wiki/Mars_(mois)', 'March'],
         {'en_wikipedia'=>'https://en.wikipedia.org/wiki/',
          'ja_wikipedia'=>'https://ja.wikipedia.org/wiki/'},
         ['=ja_wikipedia:', '*en=en_wikipedia:']) を行うと、生成された M17n では、
@names     = {''  =>'3月', 'fr'=>'Mars', 'en'=>'March'}
@namespace = {''  =>'https://ja.wikipedia.org/wiki/3%E6%9C%88',
              'fr'=>'https://fr.wikipedia.org/wiki/Mars_(mois)',
              'en'=>'https://en.wikipedia.org/wiki/March'}
となり、通常の String として振舞う場合は 'March' として振舞う

Parameters:

  • names (Array<String>)
    String

    ‘*locale:label=prefix:link’

    *       - 存在すれば、label をインスタンスを代表する文字列とする
    locale  - label に対応する locale指定(なければ、locale 引数の指定を用いる)
    label   - locale 指定に対応する label
    prefix:link - その locale での authority の URI
    prefix: - namespace 引数の指定により URI に展開する
    link    - なければ labelをURI encodeして用いる
    
  • namespace (Hash) (defaults to: {})

    { prefix=>uri }

    lables, locale 引数の prefix の展開に用いる

  • locale (Array<String>) (defaults to: [])
    String

    ‘*locale=prefix:link’

    *       - 存在すれば、label をインスタンスを代表する文字列とする
    locale  - locale指定
    prefix:link - authority の URI
    prefix: - namespace 引数の指定により URI に展開する
    


632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
# File 'lib/when_exe/basictypes.rb', line 632

def initialize(*args)
  rest, options = _attributes(args)
  _sequence

  return _pool[@label.to_s] ?
    _copy_all(_pool[@label.to_s]) :  # 階層になった Resource の代表ラベルのための生成
    _copy(options) if @label         # M17n#to_h の出力と書式互換の入力による生成

  case rest[0]
  when When::Parts::Resource::ContentLine
    content, namespace = rest
    namespace ||= {}
    names       = []
    locale      = []
    begin
      loc   = content.attribute['language'].object
      locale << [nil, loc, namespace[loc]]
      name  = content.object
      ref   = content.attribute['reference'] || content.attribute['url']
      name += '=' + (/\ANUL\z/i =~ ref.object ? '' : ref.object) if ref
      names << name
    end while (content = content.same_altid)
    @names     ||= names.reverse
    @namespace ||= namespace if namespace.kind_of?(Hash)
    @locale    ||= locale.reverse
  when nil ;
  else
    names, namespace, locale = rest
    @names       = names if names
    @namespace ||= When::Locale._namespace(namespace) if namespace
    @locale    ||= When::Locale._locale(locale)       if locale
  end
  @namespace ||= {}
  @locale    ||= []

  @code_space = @namespace['']
  self[0..-1] = @label = _names(@names, @namespace, @locale)
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class When::Parts::Resource

Instance Attribute Details

#labelString (readonly)

代表名

Returns:



554
555
556
# File 'lib/when_exe/basictypes.rb', line 554

def label
  @label
end

Class Method Details

._label(source) ⇒ When::Parts::Resource

resource の取得

Parameters:

Returns:



499
500
501
502
503
504
505
506
# File 'lib/when_exe/basictypes.rb', line 499

def _label(source)
  case source
  when Parts::Resource, nil       ; return source
  when Parts::Resource::IRIHeader ; return Parts::Resource._instance(source)
  end
  iri = Parts::Resource._abbreviation_to_iri(source, LabelTypes)
  iri ? Parts::Resource._instance(iri) : nil
end

.label(source) ⇒ When::BasicTypes::M17n, String

label の取得

Parameters:

Returns:



515
516
517
518
519
520
521
522
523
# File 'lib/when_exe/basictypes.rb', line 515

def label(source)
  resource = _label(source)
  case resource
  when nil             ; return source
  when M17n            ; return resource
  when Parts::Resource ; return resource.label
  else                 ; return resource
  end
end

.labels(source) ⇒ Array

label の Array の取得

Parameters:

Returns:



532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
# File 'lib/when_exe/basictypes.rb', line 532

def labels(source)
  array =
    if source.kind_of?(Array)
      source
    else
      resource = _label(source)
      return nil unless resource
      resource.child
    end
  case array[0]
  when M17n            ; return array
  when Parts::Resource ; return array.map {|v| v.label}
  else                 ; return array
  end
end

.month_name(name) ⇒ When::BasicTypes::M17n

月名

Parameters:

  • name (Numeric)

    指定の月番号の月名を返します

  • name (When::BasicTypes::M17n)

    name 自身をそのまま返します

  • name (String)

    最初の3文字から決定した月名を返します。 一致する月名がない場合、名前の一致するその他のM17nを探して返します。

Returns:



21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# File 'lib/when_exe/region/m17n.rb', line 21

def self.month_name(name)
  return name if name.kind_of?(self)

  months = When.Resource('_m:Calendar::Month').child
  abbrs  = When.Resource('_m:Calendar::Abbr_Month').child
  return name > 0 ? months[name-1] : abbrs[-name-1] if name.kind_of?(Numeric)

  name   = When::EncodingConversion.to_internal_encoding(name)
  match  = name[/\A...|^..\z/]
  if match
    (months+abbrs).each do |month|
      return month if month.=~(/\A#{match}/i)
    end
  end

  ObjectSpace.each_object(self) do |object|
    return object if object.registered? && object.=~(/\A#{name}\z/)
  end

  return nil
end

Instance Method Details

#label_for_prefixString

namespace に対応させる文字列を取得する

Returns:

  • (String)

    prefix 用の文字列



423
424
425
# File 'lib/when_exe/linkeddata.rb', line 423

def label_for_prefix
  names['prefix'] || names['alias'] || names['en'] || names['']
end

#to_external_encodingObject

外部エンコーディング文字列化



587
588
589
590
591
592
593
594
# File 'lib/when_exe/basictypes.rb', line 587

def to_external_encoding
  _copy({:label      => When::EncodingConversion.to_external_encoding(to_s),
         :names      => Hash[*(names.keys.map {|name| [name, When::EncodingConversion.to_external_encoding(names[name])]}).flatten],
         :link       => link,
         :access_key => access_key,
         :code_space => code_space
        })
end

#to_internal_encodingObject

内部エンコーディング文字列化



575
576
577
578
579
580
581
582
# File 'lib/when_exe/basictypes.rb', line 575

def to_internal_encoding
  _copy({:label      => When::EncodingConversion.to_internal_encoding(to_s),
         :names      => Hash[*(names.keys.map {|name| [name, When::EncodingConversion.to_internal_encoding(names[name])]}).flatten],
         :link       => link,
         :access_key => access_key,
         :code_space => code_space
        })
end

#to_m17nWhen::BasicTypes::M17n

When::BasicTypes::M17n に変換する - 何もしないで自身を返す



568
569
570
# File 'lib/when_exe/basictypes.rb', line 568

def to_m17n
  self
end