import Modal.Koleksi;
import java.util.Date;
import java.util.logging.Level;
import java.util.logging.Logger;
public class TestKoleksi2 {
public static void main(String[] args) {
// TODO code application logic here
Koleksi test = new Koleksi();
try {
test.setTanggalKembali(new Date(111, 8, 22));
System.out.println("Jjoosshh!!!");
} catch (Exception ex) {
Logger.getLogger(TestKoleksi2.class.getName()).log(Level.SEVERE, null, ex);
}
Koleksi test1 = new Koleksi();
try {
test1.setTanggalPinjam(new Date(111, 8, 30));
test1.setTanggalKembali(new Date(111, 8, 22));
System.out.println("Nyyiippp!!");
} catch (Exception ex) {
Logger.getLogger(TestKoleksi2.class.getName()).log(Level.SEVERE, null, ex);
}
Koleksi test2 = new Koleksi();
try {
test2.setTanggalPinjam(new Date(111, 8, 1));
test2.setTanggalKembali(new Date(111, 8, 22));
System.out.println("Woolesss!!!");
} catch (Exception ex) {
Logger.getLogger(TestKoleksi2.class.getName()).log(Level.SEVERE, null, ex);
}
}
}
Tidak ada komentar:
Posting Komentar