addHours method

DateTime addHours(
  1. int amount
)

Add a certain amount of hours to this date

Implementation

DateTime addHours(int amount) => DateTime(
      year,
      month,
      day,
      hour + amount,
      minute,
      second,
      millisecond,
      microsecond,
    );