Ejemplo n.º 1
0
        public int BiasSecondsForDate(GPGregorianTime vc)
        {
            Rule rule = FindActiveRule(vc.getLocalTimeRaw());

            if (rule != null)
            {
                return(rule.OffsetSeconds - OffsetSeconds);
            }

            Transition trans = FindActiveTransition(vc.getLocalTimeRaw());

            if (trans != null)
            {
                return(trans.OffsetInSeconds - OffsetSeconds);
            }

            return(0);
        }