Android Date to String Convert datesToString(final Date start, final int duration)

Here you can find the source of datesToString(final Date start, final int duration)

Description

dates To String

Declaration

public static String datesToString(final Date start, final int duration) 

Method Source Code

//package com.java2s;

import java.text.SimpleDateFormat;
import java.util.Date;

public class Main {
    public static String datesToString(final Date start, final int duration) {
        return new SimpleDateFormat("EEE @HH:mm").format(start) + " - "
                + duration + " min";

    }//from  ww  w  . j  ava  2 s.co m
}

Related

  1. dateToString(String format, Date date)
  2. dateToString(Date time)
  3. getFriendlyLocalDateTime(Date date)
  4. dateTimeToString(final Date date)
  5. dateToString(Date date)
  6. datesToString(final Date start, final int duration)
  7. convertDateToString(Date date)
  8. toSimpleDateFormattedString(Date date)
  9. toStringFromDate(Date date)