Android Date String to Date Convert removeTimeZone(String data)

Here you can find the source of removeTimeZone(String data)

Description

remove Time Zone

Declaration

public static String removeTimeZone(String data) 

Method Source Code

//package com.java2s;

public class Main {
    public static String removeTimeZone(String data) {
        return data.replaceFirst("(\\s[+|-]\\d{4})", "");
    }/* w w w  . j  a va 2 s  .com*/
}

Related

  1. getDateFromString(String string)
  2. getDateObj(String argsDate, String split)
  3. getDateOffset(String date, int offset)
  4. getDateTomorrow(String date)
  5. convertStandardDateTime(String time)
  6. parseFileName(String timeStr)
  7. formatDate(String date)
  8. changeStringToDate(String fecha, String pattern)
  9. changeStringToDate1(String str)