Java Utililty Methods Timestamp Field

List of utility methods to do Timestamp Field

Description

The list of methods to do Timestamp Field are organized into topic(s).

Method

StringgetWochentag(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;
TimestampgetYearStart(Timestamp stamp, TimeZone timeZone, Locale locale)
get Year Start
return getYearStart(stamp, 0, 0, 0, timeZone, locale);