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 .