addMonths method
Add months.
- @param value is signed int, can be negative to subtract months
Implementation
EllaDate addMonths(int value)
{
DateTime dateTime = new DateTime(year, month + value, day);
return new EllaDate.fromDateTime(dateTime);
}