Java Day of getStringDay(Calendar cal)

Here you can find the source of getStringDay(Calendar cal)

Description

get String Day

License

Apache License

Declaration

public static String getStringDay(Calendar cal) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

import java.text.SimpleDateFormat;

import java.util.Calendar;

public class Main {
    public static String getStringDay(Calendar cal) {
        return new SimpleDateFormat("dd").format(cal.getTime());
    }/*from w  ww .  j a v  a 2s.  c  om*/
}

Related

  1. getSpecifiedDayTimeAfter(Date date)
  2. getStandardDayFormat(Date day)
  3. getStartDate(int days, String strEndDate)
  4. getStartDateByDays(Date endDate, int days)
  5. getStringAfterNDay(String str, int n)
  6. getTargetDay(String day, int beforeOrAfterDays)
  7. getTheDayBefore(Date date)
  8. getThursday(String date)
  9. getTimeOfDaySeconds()