Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void initDate() {
- date = new Date();
- actualDate = dateFormat.format(date);
- }
- if (!selectedMedicineExp.equals(origin.getExpiracia().toString())) {
- param = "expiracia = ? ";
- try {
- sqlDate = new Date(dateFormatter.parse(selectedMedicineExp).getTime());
- paramsMap.put(param, sqlDate);
- }
- catch (ParseException ex) {
- Logger.getLogger(LiekBean.class.getName()).log(Level.SEVERE, null, ex);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment