Академический Документы
Профессиональный Документы
Культура Документы
try {
Fecha ahora = new Fecha();
System.out.println(ahora.dimeFechaSQL());
System.out.println(java.util.ResourceBundle.getBundle("saci_strings").getSt
ring("Son_las_") + ahora.get(Calendar.HOUR_OF_DAY));
Fecha cumple = new Fecha(1960,7,16);
System.out.println(java.util.ResourceBundle.getBundle("saci_strings").getSt
ring("Naci_el_") + cumple.dimeFechaSQL());
java.text.SimpleDateFormat formatter =
new java.text.SimpleDateFormat("EEEEEEEEE",java.util.Locale.getDefault()
);
System.out.println(java.util.ResourceBundle.getBundle("saci_strings").getSt
ring("Yo_naci_un_") + formatter.format(cumple.getTime()));
JPropertySheet psh = new JPropertySheet(cumple,50,50);
psh.addWindowListener (new java.awt.event.WindowAdapter () {
public void windowClosing (java.awt.event.WindowEvent evt) {
System.exit(0);
}
}
);
psh.pack();
psh.setVisible(true);
//System.exit(0);
}
catch (Exception e) {
e.printStackTrace();
System.exit(-1);
}
*/
System.exit(0);
}
/** Getter for property esFechaExacta.
* @return Value of property esFechaExacta.
*/
public boolean isFechaExacta() {
return this.fechaExacta;
}