addDays method

EllaDate addDays(
  1. int value
)

Add days.

  • @param value is signed int, can be negative to subtract days

Implementation

EllaDate addDays(int value)
{
  DateTime dateTime = new DateTime(year, month, day + value);
  return new EllaDate.fromDateTime(dateTime);
}