@Test public void toStringTest() { LocalDateTime alarmTime = LocalDateTime.of(2018, 8, 15, 11, 11); assertEquals("1:2018-08-15T11:11:true", new Alarm(1, alarmTime, true).toString()); }
@Override public String toString() { return this.id + ":" + this.alarmTime + ":" + this.active; }
Alarm extends io.github.amyassist.amy.utility.rest.Entity implements RegistryEntity { @Override public String toString() { return this.id + ":" + this.alarmTime + ":" + this.active; } }
Alarm extends io.github.amyassist.amy.utility.rest.Entity implements RegistryEntity { @Override public String toString() { return this.id + ":" + this.alarmTime + ":" + this.active; } Alarm();  Alarm(int id, LocalDateTime alarmTime, boolean active); }
Alarm extends io.github.amyassist.amy.utility.rest.Entity implements RegistryEntity { @Override public String toString() { return this.id + ":" + this.alarmTime + ":" + this.active; } Alarm();  Alarm(int id, LocalDateTime alarmTime, boolean active); @Override String toString(); static boolean timeValid(int hour, int minute); int getId(); void setId(int id); LocalDateTime getAlarmTime(); boolean isActive(); void setActive(boolean active); @Override int getPersistentId(); @Override int hashCode(); @Override boolean equals(Object obj); void setAlarmTime(LocalDateTime alarmTime); }
Alarm extends io.github.amyassist.amy.utility.rest.Entity implements RegistryEntity { @Override public String toString() { return this.id + ":" + this.alarmTime + ":" + this.active; } Alarm();  Alarm(int id, LocalDateTime alarmTime, boolean active); @Override String toString(); static boolean timeValid(int hour, int minute); int getId(); void setId(int id); LocalDateTime getAlarmTime(); boolean isActive(); void setActive(boolean active); @Override int getPersistentId(); @Override int hashCode(); @Override boolean equals(Object obj); void setAlarmTime(LocalDateTime alarmTime);  }