Android Long to Date Convert getDateWeekLabel(long date)

Here you can find the source of getDateWeekLabel(long date)

Description

get Date Week Label

License

Open Source License

Declaration

public static String getDateWeekLabel(long date) 

Method Source Code

//package com.java2s;

import java.text.SimpleDateFormat;

public class Main {
    private static String DATE_WEEK_FORMAT = "yyyy-MM-dd E";

    public static String getDateWeekLabel(long date) {
        SimpleDateFormat sdf = new SimpleDateFormat(DATE_WEEK_FORMAT);
        return sdf.format(date);
    }/*from   ww  w .  j  a va 2s .  c  om*/
}

Related

  1. getDateTime(long microsecond)
  2. getDateTime(long microsecond)
  3. getDateTimeForTimeZone(Long time)
  4. getDateTimeLabel(long time)
  5. getDateTimeString(long dateTime)
  6. getDay(long dateTimeMillis)
  7. getDayOfWeek(long timeMillis)
  8. getDefaultDateTimeString(long date, Locale locale)
  9. getDefaultDatetime(long milliseconds)