Class: When::CalendarNote::PositivistWeek

Inherits:
Week show all
Defined in:
lib/when_exe/region/positivist.rb

Overview

Positivist Week

Constant Summary collapse

Notes =

Positivist Note

[When::BasicTypes::M17n, [
  "locale:[=en:, ja=ja:, alias]",
  "names:[Positivist]",

  # Notes for year ----------------------------
  [When::BasicTypes::M17n,
    "names:[year]"
  ],

  # Notes for month ----------------------------
  [When::BasicTypes::M17n,
    "names:[month]",
    [When::BasicTypes::M17n,
      "names:[Month]",
      "[Moses,                                      モーセ                                              ]",
      "[Homer,                                      ホメーロス                                          ]",
      "[Aristotle,                                  アリストテレス                                      ]",
      "[Archimedes,                                 アルキメデス                                        ]",
      "[Caesar=en:Julius_Caesar,                    カエサル=ja:%%<ガイウス・ユリウス・カエサル>        ]",
      "[Saint Paul=en:Paul_of_Tarsus,               パウロ                                              ]",
      "[Charlemagne,                                シャルルマーニュ=ja:%%<カール大帝>                  ]",
      "[Dante=en:Dante_Alighieri,                   ダンテ=ja:%%<ダンテ・アリギエーリ>                  ]",
      "[Gutenberg=en:Johann_Gutenberg,              グーテンベルク=ja:%%<ヨハネス・グーテンベルク>      ]",
      "[Shakespeare=en:William_Shakespeare,         シェイクスピア=ja:%%<ウィリアム・シェイクスピア>    ]",
      "[Descartes=en:%%<René_Descartes>,            デカルト=ja:%%<ルネ・デカルト>                      ]",
      "[Frederick=en:Frederick_II_of_Prussia,       フリードリヒ=ja:%%<フリードリヒ2世 (プロイセン王)>  ]",
      "[Bichat=en:%%<Marie_François_Xavier Bichat>, ビシャ=ja:%%<マリー・フランソワ・クサヴィエ・ビシャ>]"
    ]
  ],

  # Notes for day ----------------------------
  [When::BasicTypes::M17n,
    "names:[day]",
    [When::BasicTypes::M17n,
      "names:[Week]",
      [DayOfWeek, "label:[Monday,                  月曜日, /date/day_names/1]", {'delta'=>  7}],
      [DayOfWeek, "label:[Tuesday,                 火曜日, /date/day_names/2]", {'delta'=>  7}],
      [DayOfWeek, "label:[Wednesday,               水曜日, /date/day_names/3]", {'delta'=>  7}],
      [DayOfWeek, "label:[Thursday,                木曜日, /date/day_names/4]", {'delta'=>  7}],
      [DayOfWeek, "label:[Friday,                  金曜日, /date/day_names/5]", {'delta'=>  7}],
      [DayOfWeek, "label:[Saturday,                土曜日, /date/day_names/6]", {'delta'=>  7}],
      [DayOfWeek, "label:[Sunday,                  日曜日, /date/day_names/0]", {'delta'=>  7}],
      [DayOfWeek, "label:[Festival_of_the_Dead,    祖先の祭=]", {'delta'=> 366}],
      [DayOfWeek, "label:[Festival_of_Holy_Women=, 聖女の祭=]", {'delta'=>1461}]
    ],

    "[Common_Week=]"
  ]
]]

Constants inherited from When::CalendarNote

Bahai, CalendarDepend, Chinese, CommonWithRokuyo, CommonWithSovietFiveDay, CommonWithSovietSixDay, Default, HashProperty, Javanese, JulianDay, Mayan, Tibetan, Yis

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

Instance Attribute Summary

Attributes inherited from When::CalendarNote

#event

Attributes inherited from TM::ReferenceSystem

#domain_of_validity, #position

Attributes inherited from BasicTypes::Object

#label

Attributes included from Parts::Resource

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

Method Summary

Methods inherited from Week

#_column_for_week_included, #_normalize, #_range_for_week_included, #common_week, #week_labels

Methods inherited from When::CalendarNote

#copy, #day, #duration, #enum_for, #include?, #month, #note?, #notes, #year

Methods inherited from TM::ReferenceSystem

#domain, #name

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, #next, #parent, #prev, #registered?, root_dir

Methods included from Parts::Resource::Pool

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

Methods included from Parts::Resource::Synchronize

#synchronize

Dynamic Method Handling

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