Java Date and Time

  • + 0 comments

    ** SOLUTION:**

      Calendar c = new GregorianCalendar();
       c.set(year, month-1,day );    
    
          return (c.getDisplayName(c.DAY_OF_WEEK, Calendar.LONG, Locale.ENGLISH)).toUpperCase();