Package jodd.datetime.format

Examples of jodd.datetime.format.JdtFormatter.convert()


  @Test
  public void testExternalConversion() {
    JdtFormatter fmt = new Iso8601JdtFormatter();
    JDateTime jdt = new JDateTime();
    String s1 = fmt.convert(jdt, "YYYY-MM.DD");
    assertEquals(s1, jdt.toString("YYYY-MM.DD"));
  }


  @Test
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.