Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
Pasaran Extension for DateTime Class ==================================== by Wiriana Awiputra <rianawi at gmail dot com> Pasaran is 5 'custom' days in Javanese calendar system just like 7 week days in solar calendar system. They are Pon, Wage, Kliwon, Legi, and Pahing. It was a mark for market (pasar) activity in Javanese culture. That's why people call them Pasaran. Requirement ----------- $ sudo gem install rspec Installation ------------ $ git clone git://github.com/rianawi/pasaran.git $ cd pasaran $ spec pasaran_spec.rb Examples -------- $ irb require 'pasaran' => true DateTime.now.to_pasaran => "Selasa Kliwon" DateTime.new(1979,1,8).to_pasaran => "Senin Pon"