コード例 #1
0
 protected static Game getGameScheduled() {
   Game game = new Game();
   game.setDate(new DateTime(2013, 7, 4, 0, 0, 0));
   game.setStatus(Status.scheduled);
   game.setSeasonType(SeasonType.pre);
   return game;
 }
コード例 #2
0
 protected static Game getGameCompleted() {
   Game game = new Game();
   game.setDate(new DateTime(2013, 7, 5, 0, 0, 0));
   game.setStatus(Status.completed);
   game.setSeasonType(SeasonType.pre);
   return game;
 }