All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class calendrica.HinduLunar

java.lang.Object
   |
   +----calendrica.ProtoDate
           |
           +----calendrica.Date
                   |
                   +----calendrica.HinduLunar

public class HinduLunar
extends Date

Variable Index

 o ANOMALISTIC_MONTH
 o day
 o leapDay
 o leapMonth
 o LUNAR_ERA
 o month
 o SIDEREAL_MONTH
 o SYNODIC_MONTH
 o year

Constructor Index

 o HinduLunar()
 o HinduLunar(Date)
 o HinduLunar(long)
 o HinduLunar(long, int, boolean, int, boolean)

Method Index

 o equals(Object)
 o format()
 o fromArray(int[])
 o fromFixed(long)
 o karana(int)
 o lunarDay(double)
 o lunarDayAfter(double, double)
 o lunarLongitude(double)
 o lunarPhase(double)
 o lunarStation(long)
 o newMoonBefore(double)
 o newYear(long)
 o onOrBefore(HinduLunar, HinduLunar)
 o sacredWednesdays(long, long)
 o sacredWednesdaysInGregorian(long)
 o toFixed()
 o toFixed(long, int, boolean, int, boolean)
 o toStringFields()
 o yoga(long)

Variables

 o year
 public long year
 o month
 public int month
 o leapMonth
 public boolean leapMonth
 o day
 public int day
 o leapDay
 public boolean leapDay
 o LUNAR_ERA
 public static final int LUNAR_ERA
 o SYNODIC_MONTH
 public static final double SYNODIC_MONTH
 o SIDEREAL_MONTH
 public static final double SIDEREAL_MONTH
 o ANOMALISTIC_MONTH
 public static final double ANOMALISTIC_MONTH

Constructors

 o HinduLunar
 public HinduLunar()
 o HinduLunar
 public HinduLunar(long date)
 o HinduLunar
 public HinduLunar(Date date)
 o HinduLunar
 public HinduLunar(long year,
                   int month,
                   boolean leapMonth,
                   int day,
                   boolean leapDay)

Methods

 o toFixed
 public static long toFixed(long year,
                            int month,
                            boolean leapMonth,
                            int day,
                            boolean leapDay)
 o toFixed
 public long toFixed()
Overrides:
toFixed in class Date
 o fromFixed
 public void fromFixed(long date)
Overrides:
fromFixed in class ProtoDate
 o fromArray
 public void fromArray(int a[])
Overrides:
fromArray in class ProtoDate
 o newMoonBefore
 public static double newMoonBefore(double tee)
 o onOrBefore
 public static boolean onOrBefore(HinduLunar d1,
                                  HinduLunar d2)
 o lunarDayAfter
 public static double lunarDayAfter(double tee,
                                    double k)
 o lunarLongitude
 public static double lunarLongitude(double tee)
 o lunarPhase
 public static double lunarPhase(double tee)
 o lunarDay
 public static int lunarDay(double tee)
 o lunarStation
 public static int lunarStation(long date)
 o newYear
 public static long newYear(long gYear)
 o karana
 public static int karana(int n)
 o yoga
 public static int yoga(long date)
 o sacredWednesdaysInGregorian
 public static FixedVector sacredWednesdaysInGregorian(long gYear)
 o sacredWednesdays
 public static FixedVector sacredWednesdays(long start,
                                            long end)
 o toStringFields
 protected String toStringFields()
Overrides:
toStringFields in class ProtoDate
 o format
 public String format()
Overrides:
format in class ProtoDate
 o equals
 public boolean equals(Object obj)
Overrides:
equals in class ProtoDate

All Packages  Class Hierarchy  This Package  Previous  Next  Index