The 'Food n Cruze' idea of Savor is a unique one and last week we have planned to Enjoy the Buffet in Savor with Cruise Ride. Click here to see the slideshow.
rizzz86
rizzz86
Erlang R14B02 (erts-5.8.3) [source] [smp:4:4] [rq:4] [async-threads:0] [hipe] [kernel-poll:false] Eshell V5.8.3 (abort with ^G)
1>
This article does not contains the detailed step by step tutorial of how to install MongoDB on Ubuntu. There are already lots of articles available on the installation of MongoDB on Ubuntu &Windows operating systems. In this post I am going to write my experience of Installing MongoDB on Ubuntu.Date date = new Date();
DateFormat dateFormatter = new SimpleDateFormat("dd");
String formattedDate = dateFormatter.format(date);
String dt = dateString; // Start date
SimpleDateFormat sdf = null;
try {
sdf = new SimpleDateFormat(sourceFormat);
Date date = sdf.parse(dt);
sdf = new SimpleDateFormat(targetFormat);
dt = sdf.format(date); // dt is now in the new date format
} catch (ParseException e) {
e.printStackTrace();
}
public static int getNumberOfDaysInMonth(int screenMonth){
Calendar calendar = Calendar.getInstance();
int year = Integer.valueOf(getYearNumber());
int month = screenMonth;
int date = 1;
calendar.set(year, month, date);
int days = calendar.getActualMaximum(Calendar.DAY_OF_MONTH);
return days;
}
public static String getMonthNameByMonthNumber(int currentMonthNumber) {
String dt;
Calendar c = Calendar.getInstance();
c.set(Calendar.MONTH, currentMonthNumber);
c.add(Calendar.MONTH, 0); // number of days to add
SimpleDateFormat sdf = new SimpleDateFormat("MMMM");
dt = sdf.format(c.getTime()); // dt is now the new date
return dt;
}
public static String getFirstDayOfMonth(int month) {
Calendar c = Calendar.getInstance();
c.set(Calendar.MONTH, month);
c.set(Calendar.DATE, 1);
DateFormat f = new SimpleDateFormat("EEE");
return f.format(c.getTime());
}
public static int getFirstDateOfWeek() {
Calendar c = Calendar.getInstance();
c.set(Calendar.WEEK_OF_YEAR, Calendar.WEEK_OF_MONTH);
c.set(Calendar.DAY_OF_WEEK, c.getFirstDayOfWeek());
DateFormat f = new SimpleDateFormat("dd");
String cc = f.format(c.getTime());
// Plus 1 is done to get the Monday Date instead of Sunday
return Integer.valueOf(cc) + 1;
}
String stringWithDot = "rizzz86.blogspot.com";
String[] stringArray = stringWithDot.split("\\.");
<#list hashMap?keys as key>
${key}=${hashMap[key]}<#list>
HashMap hashMap = new HashMap();
hashMap.put("1","one");hashMap.put("2","two"); put remove entrySet hashCode productElement clear isEmpty 1 values empty underlying productElements copy getClass get copy$default$1 equals productPrefix class canEqual keySet size 2 containsKey productArity containsValue productIterator toString putAll
Configuration configuration = new Configuration(); BeansWrapper wrapper = (BeansWrapper) this.configuration.getObjectWrapper(); wrapper.setSimpleMapWrapper(true); this.configuration.setObjectWrapper(wrapper);