Package net.sf.l2j.gameserver.script

Examples of net.sf.l2j.gameserver.script.DateRange


    for (int i = 0; i < _eventAnnouncements.size(); i++)
    {
        List<Object> entry   = _eventAnnouncements.get(i);

            DateRange validDateRange  = (DateRange)entry.get(0);
            String[] msg              = (String[])entry.get(1);
        Date currentDate          = new Date();

        if (!validDateRange.isValid() || validDateRange.isWithinRange(currentDate))
        {
                SystemMessage sm = new SystemMessage(SystemMessageId.S1_S2);
                for (int j=0; j<msg.length; j++)
                {
                    sm.addString(msg[j]);
View Full Code Here

TOP

Related Classes of net.sf.l2j.gameserver.script.DateRange

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.