Examples of addOmTimeZone()


Examples of org.openmeetings.app.data.basic.dao.OmTimeZoneDaoImpl.addOmTimeZone()

    String tzLabel = "Test_TimeZoneLabel";
    String clName = "Test_iCal";
    Integer tzOrderId = 10000;
   
    // add new time zone
    Long tzId = timeZoneDao.addOmTimeZone(tzName, tzLabel, clName, tzOrderId);
    assertTrue("Time zones should be positive number : " + tzId, tzId > 0 );

    // get time zone
    OmTimeZone omTimeZone = timeZoneDao.getOmTimeZoneById(tzId);
    assertNotNull("Time zone should not be null", omTimeZone);
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.