Class: When::Coordinates::Easter

Inherits:
Border show all
Defined in:
lib/when_exe/region/christian.rb

Overview

日時要素の境界 - 復活祭

Constant Summary

Constants included from Namespace

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

Instance Attribute Summary

Attributes inherited from BasicTypes::Object

#label

Attributes included from Parts::Resource

#child, #keys, #locale, #namespace

Instance Method Summary collapse

Methods inherited from Border

#_adjust_epoch, #behavior

Methods included from Parts::Resource

#[], #^, _instance, _setup_, _setup_info, base_uri, #each, #enum_for, #hierarchy, #include?, #included?, #iri, #leaf?, #m17n, #map, #parent, #registered?, root_dir

Methods included from Parts::Resource::Pool

#[], #[]=, #_setup_

Dynamic Method Handling

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

Instance Method Details

#border(date = [], frame = When::Gregorian) ⇒ Array<Numeric>

境界の取得

Parameters:

Returns:



531
532
533
# File 'lib/when_exe/region/christian.rb', line 531

def border(date=[], frame=When::Gregorian)
  frame._encode(frame._number_to_coordinates(frame.note.easter(date[0], frame)), false)
end