Return to Snippet

Revision: 34763
at October 28, 2010 02:06 by peceps


Initial Code
private String convertJavaToMootolsDateTimeFormat(String javaDateFormat) {
    return javaDateFormat.replaceAll("yyyy", "Y").replaceAll("MM", "m").replaceAll("dd", "d").replaceAll("HH", "H").replaceAll("hh", "I").replaceAll("mm", "M").replaceAll("ss", "S").replaceAll("a", "p");
  }

Initial URL

                                

Initial Description

                                

Initial Title
convertJavaToMootolsDateTimeFormat

Initial Tags
date

Initial Language
Java