org.wcb.autohome.util
Class SunriseCalculator

java.lang.Object
  extended byorg.wcb.autohome.util.SunriseCalculator

public class SunriseCalculator
extends java.lang.Object


Field Summary
(package private)  double airRefact
           
(package private)  double daylen
           
(package private)  double degs
           
(package private)  double g
           
(package private)  double l
           
(package private)  double rads
           
 double riseTime
           
 double setTime
           
(package private)  double sunDia
           
(package private)  double tpi
           
 
Constructor Summary
SunriseCalculator(double latitude, double longitude, double timezone)
           
 
Method Summary
 double fnDay(int y, int m, int d, float h)
           
 double fnRange(double x)
           
 double fnSun(double d)
           
 double fO(double lat, double declin)
           
 java.lang.String getSunrise()
           
 java.lang.String getSunset()
           
static void main(java.lang.String[] args)
           
 java.lang.String showhrmn(double dhr)
           
 void timeDate(int y, int day, int m, double latit, double longit, double tzone)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tpi

double tpi

degs

double degs

rads

double rads

l

double l

g

double g

daylen

double daylen

sunDia

double sunDia

airRefact

double airRefact

riseTime

public double riseTime

setTime

public double setTime
Constructor Detail

SunriseCalculator

public SunriseCalculator(double latitude,
                         double longitude,
                         double timezone)
Method Detail

main

public static void main(java.lang.String[] args)

timeDate

public void timeDate(int y,
                     int day,
                     int m,
                     double latit,
                     double longit,
                     double tzone)

getSunrise

public java.lang.String getSunrise()

getSunset

public java.lang.String getSunset()

fnDay

public double fnDay(int y,
                    int m,
                    int d,
                    float h)

fnRange

public double fnRange(double x)

fnSun

public double fnSun(double d)

fO

public double fO(double lat,
                 double declin)

showhrmn

public java.lang.String showhrmn(double dhr)


Copyright © 1999-2004 Walter Bogaardt. All Rights Reserved.