Java URL Create toUrlDate(String date)

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

Description

to Url Date

License

Apache License

Declaration

public static String toUrlDate(String date) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

public class Main {
    public static String toUrlDate(String date) {
        String[] s = date.split("-");
        String da = s[2] + "-" + s[1] + "-" + s[0];
        return da;

    }/*from   w w w.  jav  a 2s  .  c  om*/
}

Related

  1. toUrl(String filename)
  2. toURL(String port, String address, String table)
  3. toURL(String protocol, String host, int port, String path)
  4. toUrl(String s)
  5. toUrl(String url)
  6. toUrlPagePath(String pagePath)
  7. toUrlParameterString(String fenString)
  8. toUrlSafe(String timeZoneId)
  9. toURLString(byte[] hash)