List of utility methods to do Now
String | nowDateString() Return a string formatted as yyyyMMddHHmmss SimpleDateFormat df = new SimpleDateFormat("yyyyMMddHHmmss"); return df.format(new Date()); |
String | nowDateString(String format) Return a string formatted as format SimpleDateFormat df = new SimpleDateFormat(format); return df.format(new Date()); |
String | nowDateToString() now Date To String return new SimpleDateFormat("yyyy-MM-dd").format(new Date()); |
String | nowDT() now DT return formatDT(FMT_DEFAULT);
|
String | nowDT() now DT return formatDT(FMT_DEFAULT);
|
String | nowFile() now File return fileDateTimeFormat.format(new Date()); |
String | nowFormat(String format) Envuelve la funcion Calendar.getInstance().getTime() if (format == null) format = FORMATO_FECHA_GUION; sdf = new SimpleDateFormat(format, new Locale("es")); return sdf.format(Calendar.getInstance().getTime()); |
String | nowFormat(String format) now Format SimpleDateFormat sdf = new SimpleDateFormat(format); return sdf.format(Calendar.getInstance().getTime()); |
String | nowIdentity() Returns the current identity like '20090831182858668' return getFormat(now(), "yyyyMMddHHmmssSSS"); |
String | nowInBasicFormat() now In Basic Format return BASIC.get().format(new Date()); |