import java.util.Calendar;
import java.util.Date;
import java.util.TimeZone;

public class Class409 {

   static String[][] aStringArrayArray5007 = new String[][]{{"Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"}, {"Jan", "Feb", "Mär", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez"}, {"jan", "fév", "mars", "avr", "mai", "juin", "juil", "août", "sept", "oct", "nov", "déc"}, {"jan", "fev", "mar", "abr", "mai", "jun", "jul", "ago", "set", "out", "nov", "dez"}, {"jan", "feb", "mrt", "apr", "mei", "jun", "jul", "aug", "sep", "okt", "nov", "dec"}};
   static Calendar aCalendar5008 = Calendar.getInstance();
   static Calendar aCalendar5009 = Calendar.getInstance(TimeZone.getTimeZone("GMT"));


   public static long method6986(int var0) {
      return (long)(var0 + 11745) * 86400000L;
   }

   public static String method6987(long var0, int var2) {
      Class90.method1801(var0);
      int var3 = aCalendar5008.get(5);
      int var4 = aCalendar5008.get(2);
      int var5 = aCalendar5008.get(1);
      return 3 == var2?Class515_Sub1_Sub5_Sub1.method16747(var0, var2, 16711680):Integer.toString(var3 / 10) + var3 % 10 + "-" + aStringArrayArray5007[var2][var4] + "-" + var5;
   }

   static String method6988(long var0, int var2) {
      Class90.method1801(var0);
      int var3 = aCalendar5008.get(5);
      int var4 = aCalendar5008.get(2) + 1;
      int var5 = aCalendar5008.get(1);
      return Integer.toString(var3 / 10) + var3 % 10 + "/" + var4 / 10 + var4 % 10 + "/" + var5 % 100 / 10 + var5 % 10;
   }

   public static String method6989(long var0, int var2) {
      Class90.method1801(var0);
      int var3 = aCalendar5008.get(5);
      int var4 = aCalendar5008.get(2);
      int var5 = aCalendar5008.get(1);
      return 3 == var2?Class515_Sub1_Sub5_Sub1.method16747(var0, var2, 16711680):Integer.toString(var3 / 10) + var3 % 10 + "-" + aStringArrayArray5007[var2][var4] + "-" + var5;
   }

   public static int method6990(long var0) {
      return (int)(var0 / 86400000L) - 11745;
   }

   public static String method6991(long var0, int var2, boolean var3) {
      Calendar var4;
      if(var3) {
         Class295.method5350(var0);
         var4 = aCalendar5009;
      } else {
         Class90.method1801(var0);
         var4 = aCalendar5008;
      }

      int var5 = var4.get(5);
      int var6 = var4.get(2);
      int var7 = var4.get(1);
      int var8 = var4.get(11);
      int var9 = var4.get(12);
      return 3 == var2?Class478.method8068(var0, var2, var3, '\u8000'):Integer.toString(var5 / 10) + var5 % 10 + "-" + aStringArrayArray5007[var2][var6] + "-" + var7 + " " + var8 / 10 + var8 % 10 + ":" + var9 / 10 + var9 % 10;
   }

   public static String method6992(long var0, int var2, boolean var3) {
      Calendar var4;
      if(var3) {
         Class295.method5350(var0);
         var4 = aCalendar5009;
      } else {
         Class90.method1801(var0);
         var4 = aCalendar5008;
      }

      int var5 = var4.get(5);
      int var6 = var4.get(2);
      int var7 = var4.get(1);
      int var8 = var4.get(11);
      int var9 = var4.get(12);
      return 3 == var2?Class478.method8068(var0, var2, var3, '\u8000'):Integer.toString(var5 / 10) + var5 % 10 + "-" + aStringArrayArray5007[var2][var6] + "-" + var7 + " " + var8 / 10 + var8 % 10 + ":" + var9 / 10 + var9 % 10;
   }

   static String method6993(long var0, int var2, boolean var3) {
      Calendar var4;
      if(var3) {
         Class295.method5350(var0);
         var4 = aCalendar5009;
      } else {
         Class90.method1801(var0);
         var4 = aCalendar5008;
      }

      int var5 = var4.get(5);
      int var6 = var4.get(2) + 1;
      int var7 = var4.get(1);
      int var8 = var4.get(11);
      int var9 = var4.get(12);
      return Integer.toString(var5 / 10) + var5 % 10 + "/" + var6 / 10 + var6 % 10 + "/" + var7 % 100 / 10 + var7 % 10 + " " + var8 / 10 + var8 % 10 + ":" + var9 / 10 + var9 % 10;
   }

   static String method6994(long var0, int var2) {
      Class90.method1801(var0);
      int var3 = aCalendar5008.get(5);
      int var4 = aCalendar5008.get(2) + 1;
      int var5 = aCalendar5008.get(1);
      return Integer.toString(var3 / 10) + var3 % 10 + "/" + var4 / 10 + var4 % 10 + "/" + var5 % 100 / 10 + var5 % 10;
   }

   static void method6995(long var0) {
      aCalendar5009.setTime(new Date(var0));
   }

   public static int method6996(long var0) {
      return (int)(var0 / 86400000L) - 11745;
   }

   public static int method6997(long var0) {
      Class90.method1801(var0);
      return aCalendar5008.get(1);
   }

   public static int method6998(long var0) {
      return (int)(var0 / 86400000L) - 11745;
   }

   public static String method6999(long var0, int var2) {
      Class90.method1801(var0);
      int var3 = aCalendar5008.get(5);
      int var4 = aCalendar5008.get(2);
      int var5 = aCalendar5008.get(1);
      return 3 == var2?Class515_Sub1_Sub5_Sub1.method16747(var0, var2, 16711680):Integer.toString(var3 / 10) + var3 % 10 + "-" + aStringArrayArray5007[var2][var4] + "-" + var5;
   }

   public static int[] method7000(int var0) {
      int[] var1 = new int[3];
      Class90.method1801(Class133.method2501(var0, -848654609));
      var1[0] = aCalendar5008.get(5);
      var1[1] = aCalendar5008.get(2);
      var1[2] = aCalendar5008.get(1);
      return var1;
   }

   Class409() throws Throwable {
      throw new Error();
   }

   public static long method7001(int var0) {
      return (long)(var0 + 11745) * 86400000L;
   }

   public static int method7002(long var0) {
      Class90.method1801(var0);
      return aCalendar5008.get(1);
   }

   public static String method7003(long var0, int var2) {
      Class90.method1801(var0);
      int var3 = aCalendar5008.get(5);
      int var4 = aCalendar5008.get(2);
      int var5 = aCalendar5008.get(1);
      return 3 == var2?Class515_Sub1_Sub5_Sub1.method16747(var0, var2, 16711680):Integer.toString(var3 / 10) + var3 % 10 + "-" + aStringArrayArray5007[var2][var4] + "-" + var5;
   }

   static final void method7004(Class508 var0, byte var1) {
      var0.anIntArray6027[(var0.anInt6003 += 98312473) * -937710807 - 1] = -1644210591 * Class3.anInt107;
   }

   static final void method7005(Class508 var0, byte var1) {
      Class505 var2 = var0.aBool6014?var0.aClass505_6011:var0.aClass505_6010;
      if(var2.aClass124_5977.anInt1369 * -875927841 == -1) {
         if(var0.aBool6014) {
            throw new RuntimeException("");
         } else {
            throw new RuntimeException("");
         }
      } else {
         Class124 var3 = var2.method8431(1539873893);
         var3.aClass124Array1408[-875927841 * var2.aClass124_5977.anInt1369] = null;
         Class460.method7767(var3, 1648637621);
      }
   }

   public static void method7006(Class253 var0, byte var1) {
      Class420.aClass253_5332 = var0;
   }
}
