### Question:
GetTimeInfo { public static int getPastWeek(String dateNow, String startWeek, String endWeek) { return getInstance()._getPastWeek(dateNow, startWeek, endWeek); } private  GetTimeInfo(); static List<String> getTimeList(); static String getSimpleTime(); static String getDate(); static long getPastDay(String dateNow, String dateExam); static int getWeek(); static int getMonth(); static int getPastWeek(String dateNow, String startWeek, String endWeek);  }### Answer:
@Test public void getPastWeek() { Assert.assertEquals(GetTimeInfo.getPastDay("2018-4-2", "2018-5-12"), 40); }