@Test public void testVariableTime() { final VariableTime vt = new VariableTime(20, 4, 3, 4, 12, 1972); assertTrue(vt.getMinute() == 20); assertTrue(vt.getHour() == 4); assertTrue(vt.getDayOfWeek() == 3); assertTrue(vt.getDayOfMonth() == 4); assertTrue(vt.getMonth() == 12); assertTrue(vt.getYear() == 1972); }
public VariableTime( Integer minute, Integer hour, Integer dayOfWeek, Integer dayOfMonth, Integer month, Integer year) { this.minute = minute; this.hour = hour; this.dayOfWeek = dayOfWeek; this.dayOfMonth = dayOfMonth; this.month = month; this.year = year; }
VariableTime implements IVariableTime { public VariableTime( Integer minute, Integer hour, Integer dayOfWeek, Integer dayOfMonth, Integer month, Integer year) { this.minute = minute; this.hour = hour; this.dayOfWeek = dayOfWeek; this.dayOfMonth = dayOfMonth; this.month = month; this.year = year; } }
VariableTime implements IVariableTime { public VariableTime( Integer minute, Integer hour, Integer dayOfWeek, Integer dayOfMonth, Integer month, Integer year) { this.minute = minute; this.hour = hour; this.dayOfWeek = dayOfWeek; this.dayOfMonth = dayOfMonth; this.month = month; this.year = year; } VariableTime(
            Integer minute,
            Integer hour,
            Integer dayOfWeek,
            Integer dayOfMonth,
            Integer month,
            Integer year); }
VariableTime implements IVariableTime { public VariableTime( Integer minute, Integer hour, Integer dayOfWeek, Integer dayOfMonth, Integer month, Integer year) { this.minute = minute; this.hour = hour; this.dayOfWeek = dayOfWeek; this.dayOfMonth = dayOfMonth; this.month = month; this.year = year; } VariableTime(
            Integer minute,
            Integer hour,
            Integer dayOfWeek,
            Integer dayOfMonth,
            Integer month,
            Integer year); Integer getDayOfMonth(); Integer getDayOfWeek(); Integer getYear(); Integer getMonth(); Integer getHour(); Integer getMinute(); }
VariableTime implements IVariableTime { public VariableTime( Integer minute, Integer hour, Integer dayOfWeek, Integer dayOfMonth, Integer month, Integer year) { this.minute = minute; this.hour = hour; this.dayOfWeek = dayOfWeek; this.dayOfMonth = dayOfMonth; this.month = month; this.year = year; } VariableTime(
            Integer minute,
            Integer hour,
            Integer dayOfWeek,
            Integer dayOfMonth,
            Integer month,
            Integer year); Integer getDayOfMonth(); Integer getDayOfWeek(); Integer getYear(); Integer getMonth(); Integer getHour(); Integer getMinute();  }