Package rs.etf.sab.operations
Interface GeneralOperations
-
public interface GeneralOperations
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
eraseAll()
Clears data in database.java.util.Calendar
getCurrentTime()
Gets current timevoid
setInitialTime(java.util.Calendar time)
Sets initial timejava.util.Calendar
time(int days)
Time to pass in simulation.
-
-
-
Method Detail
-
setInitialTime
void setInitialTime(java.util.Calendar time)
Sets initial time- Parameters:
time
- time
-
time
java.util.Calendar time(int days)
Time to pass in simulation.- Parameters:
days
- number of days that will pass in simulation after this method call- Returns:
- current time
-
getCurrentTime
java.util.Calendar getCurrentTime()
Gets current time- Returns:
- current time
-
eraseAll
void eraseAll()
Clears data in database.
-
-