Class: Time

Inherits:
Object
  • Object
show all
Defined in:
lib/parsi-datetime.rb

Instance Method Summary collapse

Instance Method Details

#to_parsiObject Also known as: jalali, to_jalali, to_persian

Returns a Parsi::DateTime object representing same date in Jalali calendar


206
207
208
# File 'lib/parsi-datetime.rb', line 206

def to_parsi
  to_datetime.to_parsi
end