Android Date String Parse parseLastfmDateAlbum(String date)

Here you can find the source of parseLastfmDateAlbum(String date)

Description

parse Lastfm Date Album

Declaration

public static Date parseLastfmDateAlbum(String date) 

Method Source Code

//package com.java2s;

import java.text.ParseException;
import java.text.SimpleDateFormat;

import java.util.Date;

public class Main {
    public static Date parseLastfmDateAlbum(String date) {
        if (date == null) {
            return null;
        }/*from   www. j ava 2s. c  o m*/
        SimpleDateFormat dateFormat = new SimpleDateFormat(
                "dd MMMM yyyy, HH:mm");
        Date parsedDate = null;
        try {
            parsedDate = dateFormat.parse(date);
        } catch (ParseException e) {
            e.printStackTrace();
        }
        return parsedDate;
    }
}

Related

  1. parseRFC822Date(String date)
  2. parseIcalDateToString(Date date, TimeZone tz)
  3. parseDate(String s)
  4. parseDate(String value)
  5. parseLastfmDate(String date)
  6. parseLastfmDateLong(String date)
  7. isDate(String date)