List of utility methods to do Date Now
String | getCurrentDay() get Current Day return format(new Date(), DEFAULT_PATTERN); |
String | getCurrentDay() get Current Day return getDefaultDateFormat().format(java.util.Calendar.getInstance().getTime());
|
Calendar | getCurrentDay() get Current Day Calendar cal = Calendar.getInstance();
return cal;
|
String | getCurrentDay() get Current Day return getDefaultDateFormat().format(java.util.Calendar.getInstance().getTime());
|
String | getCurrentDay(int model) get Current Day return getDateStringForFormat(model == 0 ? "d" : "dd"); |
String | getCurrentDay(String pattern) get Current Day SimpleDateFormat simpleFormate = new SimpleDateFormat(pattern); return simpleFormate.format(new Date()); |
Date | getCurrentDayBegin() get Current Day Begin Calendar calendar = new GregorianCalendar(); calendar.set(Calendar.HOUR_OF_DAY, 0); calendar.set(Calendar.MINUTE, 0); calendar.set(Calendar.SECOND, 0); return calendar.getTime(); |
String | getCurrentDayInyyyyMMdd() getCurrentDayInyyyyMMdd: returns the current day. return new SimpleDateFormat("yyyyMMdd").format(new java.util.Date()); |
String | getCurrentFormattedTime() get Current Formatted Time return getFormattedTime(new Date()); |
Date | getCurrentGMTTime() get current GMT time return getGMTTime(getTime());
|