setDate method

void setDate(
  1. DateTime d
)

Assigns the argument d to date

Implementation

void setDate(DateTime d){
  date = d;
}