Java Utililty Methods Date Create

List of utility methods to do Date Create

Description

The list of methods to do Date Create are organized into topic(s).

Method

StringtoDateTime(Date date)
to Date Time
return toDateTime(date, DEFAULT_DATE_TIME_FORMAT);
StringtoDatetime(long value)
to Datetime
int sec = (int) (value % 100);
if (value <= 1) {
    sec = 1;
value /= 100;
int min = (int) (value % 100);
value /= 100;
int hour = (int) (value % 100);
...