yesterday method

DateTime yesterday()

Implementation

DateTime yesterday() {
  return DateTime(this.year, this.month, this.day - 1);
}