package com.plannaplan; import java.util.Date; import com.plannaplan.types.AppStates; public class App { private static App instance; private Date round1; private Date round2; private AppStates state; private App() { } public AppStates getState() { return state; } public void setState(AppStates state) { this.state = state; } public Date getRound2() { return round2; } public void setRound2(Date round2) { this.round2 = round2; } public Date getRound1() { return round1; } public void setRound1(Date round1) { this.round1 = round1; } public App getInstance() { if (App.instance == null) { App.instance = new App(); } return App.instance; } }