Sha256: 05943c4da806f0189f362bb248fda1107fc895ab33d986452475370c2f301174

Contents?: true

Size: 1.34 KB

Versions: 6

Compression:

Stored size: 1.34 KB

Contents

# -*- coding: utf-8 -*-
=begin
  Copyright (C) 2014-2015 Takashi SUGA

  You may use and/or modify this file according to the license described in the LICENSE.txt file included in this archive.
=end

module When

  class BasicTypes::M17n

    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ê=]"
      ]
    ]]
  end

  module CalendarTypes

    #
    # Armenian Calendar
    #
    Armenian =  [CyclicTableBased, {
      'label'         => 'Armenian',
      'origin_of_LSC' => 1922868,
      'origin_of_MSC' =>       1,
      'epoch_in_CE'   =>     552,
      'indices'       => [
        When.Index('Armenian::Month', {:unit =>13}),
        When::Coordinates::DefaultDayIndex
      ],
      'rule_table' => {
        'T' => {'Rule'  =>[365]},
        365 => {'Length'=>[30]*12+[5]}
      }
    }]
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
when_exe-0.5.0 lib/when_exe/region/armenian.rb
when_exe-0.4.6 lib/when_exe/region/armenian.rb
when_exe-0.4.5 lib/when_exe/region/armenian.rb
when_exe-0.4.4 lib/when_exe/region/armenian.rb
when_exe-0.4.3 lib/when_exe/region/armenian.rb
when_exe-0.4.2 lib/when_exe/region/armenian.rb