method

to_date

ruby latest stable - Class: XSD::XSDDateTimeImpl

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1_8_7_330) is shown here.

to_date()
public

No documentation available.

# File lib/xsd/datatypes.rb, line 526
  def to_date
    Date.new0(@data.class.jd_to_ajd(@data.jd, 0, 0), 0, @data.start)
  end