Class: DateTime

Inherits:
Object
  • Object
show all
Defined in:
lib/hijri/gregorian.rb

Instance Method Summary collapse

Instance Method Details

#to_hijriObject



25
26
27
# File 'lib/hijri/gregorian.rb', line 25

def to_hijri
  Hijri::DateTime.new *Hijri::Converter.greo_to_hijri(self)
end