Package org.apache.roller.util

Examples of org.apache.roller.util.TimeZoneComparator


    {
        if (timeZones == null)
        {
            Date today = new Date();
            timeZones = new ArrayList();
            TreeSet zoneTree = new TreeSet(new TimeZoneComparator());
            String[] zoneArray = TimeZone.getAvailableIDs();
            for (int i=0; i<zoneArray.length; i++)
            {
                zoneTree.add((TimeZone)TimeZone.getTimeZone(zoneArray[i]));
            }
View Full Code Here


    {
        if (timeZones == null)
        {
            Date today = new Date();
            timeZones = new ArrayList();
            TreeSet zoneTree = new TreeSet(new TimeZoneComparator());
            String[] zoneArray = TimeZone.getAvailableIDs();
            for (int i=0; i<zoneArray.length; i++)
            {
                zoneTree.add((TimeZone)TimeZone.getTimeZone(zoneArray[i]));
            }
View Full Code Here

TOP

Related Classes of org.apache.roller.util.TimeZoneComparator

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.