Esempio n. 1
0
 public static int DayOfYear(long absTicks, float longitude)
 {
     return(GenMath.PositiveModRemap(absTicks + LocalTicksOffsetFromLongitude(longitude), 60000, 60));
 }
Esempio n. 2
0
 public static Twelfth Twelfth(long absTicks, float longitude)
 {
     return((Twelfth)GenMath.PositiveModRemap(absTicks + LocalTicksOffsetFromLongitude(longitude), 300000, 12));
 }
Esempio n. 3
0
 public static int HourOfDay(long absTicks, float longitude)
 {
     return(GenMath.PositiveModRemap(absTicks + LocalTicksOffsetFromLongitude(longitude), 2500, 24));
 }
Esempio n. 4
0
        public static int HourInteger(long absTicks, float longitude)
        {
            long x = absTicks + GenDate.LocalTicksOffsetFromLongitude(longitude);

            return(GenMath.PositiveModRemap(x, 2500, 24));
        }
Esempio n. 5
0
        public static Twelfth Twelfth(long absTicks, float longitude)
        {
            long x = absTicks + GenDate.LocalTicksOffsetFromLongitude(longitude);

            return((Twelfth)GenMath.PositiveModRemap(x, 300000, 12));
        }
Esempio n. 6
0
        public static int DayOfYear(long absTicks, float longitude)
        {
            long x = absTicks + GenDate.LocalTicksOffsetFromLongitude(longitude);

            return(GenMath.PositiveModRemap(x, 60000, 60));
        }
Esempio n. 7
0
        public static int DayOfTwelfth(long absTicks, float longitude)
        {
            long x = absTicks + LocalTicksOffsetFromLongitude(longitude);

            return(GenMath.PositiveModRemap(x, 60000, 5));
        }