Methods
Public Instance methods
to_date()

Parse data from string.

# File lib/lore/facets/date.rb, line 390
  def to_date
    #::Date::civil(*ParseDate.parsedate(self)[0..2])
    ::Date.new(*::Date._parse(self, false).values_at(:year, :mon, :mday))
  end
to_datetime()

Convert string to DateTime.

# File lib/lore/facets/date.rb, line 384
  def to_datetime
    date = ::Date._parse(self, false).values_at(:year, :mon, :mday, :hour, :min, :sec).map { |arg| arg || 0 }
    ::DateTime.civil(*date)
  end