public static int DayOfYear(long absTicks, float longitude) { return(GenMath.PositiveModRemap(absTicks + LocalTicksOffsetFromLongitude(longitude), 60000, 60)); }
public static Twelfth Twelfth(long absTicks, float longitude) { return((Twelfth)GenMath.PositiveModRemap(absTicks + LocalTicksOffsetFromLongitude(longitude), 300000, 12)); }
public static int HourOfDay(long absTicks, float longitude) { return(GenMath.PositiveModRemap(absTicks + LocalTicksOffsetFromLongitude(longitude), 2500, 24)); }
public static int HourInteger(long absTicks, float longitude) { long x = absTicks + GenDate.LocalTicksOffsetFromLongitude(longitude); return(GenMath.PositiveModRemap(x, 2500, 24)); }
public static Twelfth Twelfth(long absTicks, float longitude) { long x = absTicks + GenDate.LocalTicksOffsetFromLongitude(longitude); return((Twelfth)GenMath.PositiveModRemap(x, 300000, 12)); }
public static int DayOfYear(long absTicks, float longitude) { long x = absTicks + GenDate.LocalTicksOffsetFromLongitude(longitude); return(GenMath.PositiveModRemap(x, 60000, 60)); }
public static int DayOfTwelfth(long absTicks, float longitude) { long x = absTicks + LocalTicksOffsetFromLongitude(longitude); return(GenMath.PositiveModRemap(x, 60000, 5)); }