class DateUtils {

	public static Date getFirstDayOfMonth(Date date) {
		
		Calendar firstDayOfMonth = Calendar.getInstance();
		firstDayOfMonth.setTime(DateUtils.minHourInDate(date));
		firstDayOfMonth.set(Calendar.DAY_OF_MONTH, firstDayOfMonth.getMinimum(Calendar.DAY_OF_MONTH));
		
		return firstDayOfMonth.getTime();
	}

}