Package kr.pe.okjsp.util

Examples of kr.pe.okjsp.util.BannerHelper


* @author kenu_at_okjsp.pe.kr
*/
public class BannerHelperTest extends TestCase {
  public void testIsValid() throws ParseException {
    BannerHelper bh = new BannerHelper();
    bh.setDuration("20041018", "20041020");

    assertFalse(bh.isValid("20041017"));

    assertTrue(bh.isValid("20041018"));
    assertTrue(bh.isValid("20041019"));
    assertTrue(bh.isValid("20041020"));

    assertFalse(bh.isValid("20041021"));
  }
View Full Code Here

TOP

Related Classes of kr.pe.okjsp.util.BannerHelper

Copyright © 2018 www.massapicom. 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.