Ejemplo n.º 1
0
        public GPLocalizedTithi getNextTithi()
        {
            GPLocalizedTithi lt = new GPLocalizedTithi(p_location, getEndTime().TimeByAddingHours(12.0), GPTithi.NEXT_TITHI(p_tithi));

            lt.setStartTime(getEndTime());
            return(lt);
        }
Ejemplo n.º 2
0
        public GPLocalizedTithi getPreviousTithi()
        {
            GPLocalizedTithi lt = new GPLocalizedTithi(p_location, getStartTime().TimeByAddingHours(-12.0), GPTithi.PREV_TITHI(p_tithi));

            lt.setEndTime(getStartTime());
            return(lt);
        }