Java Date String Format formatQuery(String queryDate)

Here you can find the source of formatQuery(String queryDate)

Description

format Query

License

Open Source License

Declaration

public static String formatQuery(String queryDate) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    public static String formatQuery(String queryDate) {

        String str[] = queryDate.split("-");
        String year = str[0];//from w  w w  .j a v  a 2  s.c  o  m
        String month = str[1];
        String day = str[2];

        return year + month + day;

    }
}

Related

  1. formatDay(String date)
  2. formate8Date(String str)
  3. formatIso8601ToSimpleDate(String iso8601)
  4. formatISODate(String date)
  5. formatMinDateForShowWith_(String str)
  6. formatShort(String strDate)
  7. formatShow(String queryDate)
  8. formatTweetDate1(String date)