List of utility methods to do Timestamp Field
String | getWochentag(java.util.Locale locale, java.sql.Timestamp tDatum) get Wochentag if (tDatum != null) { String[] kurzeWochentage = new DateFormatSymbols(locale).getWeekdays(); Calendar c = Calendar.getInstance(); c.setTimeInMillis(tDatum.getTime()); return kurzeWochentage[c.get(Calendar.DAY_OF_WEEK)]; } else { return null; |
Timestamp | getYearStart(Timestamp stamp, TimeZone timeZone, Locale locale) get Year Start return getYearStart(stamp, 0, 0, 0, timeZone, locale);
|