yesterday method

DateTime yesterday()

previous day

Implementation

DateTime yesterday() => DateTime(year, month, day - 1);