List of usage examples for org.jfree.data.time Hour parseHour
public static Hour parseHour(String s)
From source file:org.jfree.data.time.HourTest.java
/** * Problem for date parsing./*ww w . j a v a 2 s.co m*/ */ @Test public void testParseHour() { // test 1... Hour h = Hour.parseHour("2002-01-29 13"); assertEquals(13, h.getHour()); }
From source file:org.jfree.data.time.junit.HourTest.java
/** * Problem for date parsing.//from ww w . j a va 2 s.co m */ public void testParseHour() { // test 1... Hour h = Hour.parseHour("2002-01-29 13"); assertEquals(13, h.getHour()); }