Example usage for java.util Date parse

List of usage examples for java.util Date parse

Introduction

In this page you can find the example usage for java.util Date parse.

Prototype

@Deprecated
public static long parse(String s) 

Source Link

Document

Attempts to interpret the string s as a representation of a date and time.

Usage

From source file:de.vanita5.twittnuker.util.Utils.java

@SuppressWarnings("deprecation")
public static String formatTimeStampString(final Context context, final String date_time) {
    if (context == null)
        return null;
    return formatTimeStampString(context, Date.parse(date_time));
}