public void setCalendar(int year, int month, int dayOfMonth, int hour, int minute, int second) {
        this.year = year;
        this.month = month;
        this.dayOfMonth = dayOfMonth;
        this.hour = hour;
        this.minute = minute;
        this.second = second;
        this.createCalendar();
    }
public void setCalendar ( int year , int month , int dayOfMonth , int hour , int minute , int second ) { this . year = year ; this . month = month ; this . dayOfMonth = dayOfMonth ; this . hour = hour ; this . minute = minute ; this . second = second ; this . createCalendar ( ) ; }
It sets the simulation time.

@param year
@param month
@param dayOfMonth
@param hour
@param minute
@param second