/* Class124 - Decompiled by JODE
 * Visit http://jode.sourceforge.net/
 */
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;
import java.util.TimeZone;
import java.util.concurrent.ConcurrentLinkedQueue;

public final class Class124
{
    public static final long aLong1566 = 1000L;
    static HashMap aHashMap1567 = new HashMap();
    static Map aMap1568;
    
    public static String method3089(Date date, String string) {
	return method3091(date, string, method3092(105937865),
			  Class457.aClass457_6304, -1141735243);
    }
    
    static TimeZone method3090(String string, int i) {
	synchronized (aHashMap1567) {
	    TimeZone timezone = (TimeZone) aHashMap1567.get(string);
	    if (timezone == null) {
		timezone = TimeZone.getTimeZone(string);
		aHashMap1567.put(string, timezone);
	    }
	    TimeZone timezone_0_ = timezone;
	    return timezone_0_;
	}
    }
    
    static String method3091(Date date, String string, TimeZone timezone,
			     Class457 class457, int i) {
	if (aMap1568 == null) {
	    aMap1568 = new HashMap(7);
	    Class457[] class457s = Class457.method8061(-43467939);
	    for (int i_1_ = 0; i_1_ < class457s.length; i_1_++) {
		Class457 class457_2_ = class457s[i_1_];
		aMap1568.put(class457_2_, new ConcurrentLinkedQueue());
	    }
	}
	ConcurrentLinkedQueue concurrentlinkedqueue
	    = (ConcurrentLinkedQueue) aMap1568.get(class457);
	SimpleDateFormat simpledateformat
	    = (SimpleDateFormat) concurrentlinkedqueue.poll();
	if (null == simpledateformat)
	    simpledateformat
		= new SimpleDateFormat(string,
				       class457.method8055(1304246885));
	else
	    simpledateformat.applyPattern(string);
	simpledateformat.setTimeZone(timezone);
	String string_3_ = simpledateformat.format(date);
	concurrentlinkedqueue.add(simpledateformat);
	return string_3_;
    }
    
    static TimeZone method3092(int i) {
	return method3090("Europe/London", -1165011192);
    }
    
    public static String method3093(Date date, String string) {
	return method3091(date, string, method3092(105937865),
			  Class457.aClass457_6304, -624594178);
    }
    
    Class124() throws Throwable {
	throw new Error();
    }
    
    public static String method3094(Date date, String string, int i) {
	return method3091(date, string, method3092(105937865),
			  Class457.aClass457_6304, -1997240486);
    }
    
    public static String method3095(Date date, String string) {
	return method3091(date, string, method3092(105937865),
			  Class457.aClass457_6304, 1008220001);
    }
    
    public static String method3096(Date date, String string) {
	return method3091(date, string, method3092(105937865),
			  Class457.aClass457_6304, 613898037);
    }
    
    static {
	Calendar.getInstance(method3090("Europe/London", 895722557));
    }
    
    static String method3097(Date date, String string, TimeZone timezone,
			     Class457 class457) {
	if (aMap1568 == null) {
	    aMap1568 = new HashMap(7);
	    Class457[] class457s = Class457.method8061(640133914);
	    for (int i = 0; i < class457s.length; i++) {
		Class457 class457_4_ = class457s[i];
		aMap1568.put(class457_4_, new ConcurrentLinkedQueue());
	    }
	}
	ConcurrentLinkedQueue concurrentlinkedqueue
	    = (ConcurrentLinkedQueue) aMap1568.get(class457);
	SimpleDateFormat simpledateformat
	    = (SimpleDateFormat) concurrentlinkedqueue.poll();
	if (null == simpledateformat)
	    simpledateformat
		= new SimpleDateFormat(string,
				       class457.method8055(1592399155));
	else
	    simpledateformat.applyPattern(string);
	simpledateformat.setTimeZone(timezone);
	String string_5_ = simpledateformat.format(date);
	concurrentlinkedqueue.add(simpledateformat);
	return string_5_;
    }
    
    static String method3098(Date date, String string, TimeZone timezone,
			     Class457 class457) {
	if (aMap1568 == null) {
	    aMap1568 = new HashMap(7);
	    Class457[] class457s = Class457.method8061(-1127094758);
	    for (int i = 0; i < class457s.length; i++) {
		Class457 class457_6_ = class457s[i];
		aMap1568.put(class457_6_, new ConcurrentLinkedQueue());
	    }
	}
	ConcurrentLinkedQueue concurrentlinkedqueue
	    = (ConcurrentLinkedQueue) aMap1568.get(class457);
	SimpleDateFormat simpledateformat
	    = (SimpleDateFormat) concurrentlinkedqueue.poll();
	if (null == simpledateformat)
	    simpledateformat
		= new SimpleDateFormat(string,
				       class457.method8055(1562424123));
	else
	    simpledateformat.applyPattern(string);
	simpledateformat.setTimeZone(timezone);
	String string_7_ = simpledateformat.format(date);
	concurrentlinkedqueue.add(simpledateformat);
	return string_7_;
    }
    
    static TimeZone method3099() {
	return method3090("Europe/London", 473017205);
    }
    
    static TimeZone method3100() {
	return method3090("Europe/London", -693910897);
    }
    
    static final void method3101(Class479 class479, int i) {
	int i_8_ = (((Class479) class479).anIntArray6435
		    [((((Class479) class479).anInt6442 -= -1158629699)
		      * -117934955)]);
	Class465 class465;
	if (((Class479) class479).aBool6460)
	    class465 = ((Class479) class479).aClass465_6445;
	else
	    class465 = ((Class479) class479).aClass465_6443;
	((Class479) class479).anIntArray6435
	    [(((Class479) class479).anInt6442 += -1158629699) * -117934955 - 1]
	    = class465.method8279((((Class479) class479)
				   .aClass478_Sub1_Sub1_Sub5_6448
				   .aClass116_11220),
				  i_8_, -1, 1604939149) ? 1 : 0;
    }
    
    static final void method3102(Class479 class479, short i) {
	((Class479) class479).anInt6440 -= 742992438;
	if ((((Class479) class479).aLongArray6439
	     [((Class479) class479).anInt6440 * -2099462893])
	    > (((Class479) class479).aLongArray6439
	       [1 + ((Class479) class479).anInt6440 * -2099462893]))
	    ((Class479) class479).anInt6458
		+= (-432818073
		    * (((Class479) class479).anIntArray6456
		       [((Class479) class479).anInt6458 * 1798300503]));
    }
    
    static final void method3103(Class479 class479, int i) {
	((Class479) class479).anInt6442 -= 1977707898;
	int i_9_ = (((Class479) class479).anIntArray6435
		    [-117934955 * ((Class479) class479).anInt6442]);
	int i_10_ = (((Class479) class479).anIntArray6435
		     [-117934955 * ((Class479) class479).anInt6442 + 1]);
	String string = (String) (((Class479) class479).anObjectArray6437
				  [(((Class479) class479).anInt6432
				    -= -1049632545) * -611591393]);
	if (i_9_ == 99)
	    Class2.method466(string, 1948952327);
	else if (i_9_ == 98)
	    Class37.method1181(string, (short) 1859);
	else
	    Class569.method12584(i_9_, i_10_, "", "", "", string, 1794746740);
    }
}
