mhuss utils 1.1.5ws
A B C D E F G H I J L M N O P Q R S T U V X Y Z

A

a - Variable in class com.mhuss.AstroLib.TimePair
The start or rise time
A_TWI_ALT - Static variable in class com.mhuss.AstroLib.RiseSet
Astronomical twilight altitude (when sun is 18 degrees below horizon).
acose(double) - Static method in class com.mhuss.AstroLib.MathOps
Calculates the arc cosine, but limits the input to the range ( -1.0 < rad < +1.0 ).
ageOfMoonInDays(double) - Static method in class com.mhuss.AstroLib.LunarCalc
Calculate the age of the moon in days for the given Julian day.
ageOfMoonInDays(GregorianCalendar) - Static method in class com.mhuss.AstroLib.LunarCalc
Calculate the age of the moon in days for the given Calendar instance.
ageOfMoonInDays() - Static method in class com.mhuss.AstroLib.LunarCalc
Calculate the present age of the moon in days.
asine(double) - Static method in class com.mhuss.AstroLib.MathOps
Calculates the arc sine, but limits the input to the range ( -1.0 < rad < +1.0 ).
Astro - Class in com.mhuss.AstroLib
Useful constants
Astro() - Constructor for class com.mhuss.AstroLib.Astro
 
AstroDate - Class in com.mhuss.AstroLib
A support class for DateOps.
AstroDate() - Constructor for class com.mhuss.AstroLib.AstroDate
Default constructor = epoch J2000 (noon on 1/1/2000)
AstroDate(int, int, int, int) - Constructor for class com.mhuss.AstroLib.AstroDate
Literal (member by member) constructor
AstroDate(int, int, int, int, int, int) - Constructor for class com.mhuss.AstroLib.AstroDate
Explicit day, month, year, hour, minute, and second constructor
AstroDate(int, int, int) - Constructor for class com.mhuss.AstroLib.AstroDate
Day, Month, Year constructor (time defaults to 00:00:00 = midnight)
AstroDate(int, int, int, double) - Constructor for class com.mhuss.AstroLib.AstroDate
Day, Month, Year + fraction of a day constructor
AstroDate(double) - Constructor for class com.mhuss.AstroLib.AstroDate
Julian Day constructor.
ASTRONOMICAL_TWI - Static variable in class com.mhuss.AstroLib.RiseSet
Calulation type (pseudo-enum)
AstroOps - Class in com.mhuss.AstroLib
AstroOps is a 'catch-all' class that performs some useful calculation functions that didn't fit anywhere else.
AstroOps() - Constructor for class com.mhuss.AstroLib.AstroOps
 
AstroTest - Class in com.mhuss.AstroLib
 
AstroTest() - Constructor for class com.mhuss.AstroLib.AstroTest
 
AtlasRef - Class in com.mhuss.AstroLib
AtlasRef is a class that figures out which page in a number of atlases best show the given RA and Dec.
AtlasRef() - Constructor for class com.mhuss.AstroLib.AtlasRef
 
AU - Static variable in class com.mhuss.AstroLib.PlanetData
 

B

b - Variable in class com.mhuss.AstroLib.TimePair
The end or set time.
BAND_0 - Static variable in class com.mhuss.AstroLib.VisLimit
Band mask
BAND_1 - Static variable in class com.mhuss.AstroLib.VisLimit
Band mask
BAND_2 - Static variable in class com.mhuss.AstroLib.VisLimit
Band mask
BAND_3 - Static variable in class com.mhuss.AstroLib.VisLimit
Band mask
BAND_4 - Static variable in class com.mhuss.AstroLib.VisLimit
Band mask
boolCheck(String) - Static method in class com.mhuss.Util.Str
Check for a string which represents boolean true.

C

c - Variable in class com.mhuss.AstroLib.TimePair
The third (Culmination) time.
C_TWI_ALT - Static variable in class com.mhuss.AstroLib.RiseSet
Civil twilight altitude (when sun is 6 degrees below horizon).
calc(double) - Method in class com.mhuss.AstroLib.Nutation
Calculate nutation values.
calc(int, double, double, ObsInfo) - Method in class com.mhuss.AstroLib.PlanetData
Calculate the data for a given planet, julian day, and location.
calc(int, double, ObsInfo) - Method in class com.mhuss.AstroLib.PlanetData
 
calc(int, double, double, ObsInfo, boolean, boolean) - Method in class com.mhuss.AstroLib.PlanetData
Calculate the data for a given planet, julian day, and location.
calcAllLEs(LocationElements, double) - Method in class com.mhuss.AstroLib.Lunar
Calculate the fundamentals and then all three location elements for the given time.
calcAllLEs(LocationElements, double) - Static method in class com.mhuss.AstroLib.Pluto
Calculate all locations elements for a given time.
calcAllLEs(LocationElements, double, int) - Static method in class com.mhuss.AstroLib.Vsop
Calculate all three location elements of the specified planet at the given time.
calcAndPrint(DarkCalInput) - Method in class com.mhuss.AstroLib.DarkCal
Calculate the DarkCalData values and print them out.
calcDeltaEpsilon(double) - Method in class com.mhuss.AstroLib.Nutation
Calculate delta Epsilon nutation value only.
calcDeltaPhi(double) - Method in class com.mhuss.AstroLib.Nutation
Calculate delta Phi nutation value only.
calcFundamentals(double) - Method in class com.mhuss.AstroLib.Lunar
Calculates the lunar fundamanentals for a given time.
calcLE(double, int, int) - Static method in class com.mhuss.AstroLib.Vsop
Calculate a single location element (latitude, longitude, or radius).
calcLon(int, double, ObsInfo) - Method in class com.mhuss.AstroLib.PlanetData
This calculates all LocationElements, then returns the longitude.
calendarToDay(Calendar) - Static method in class com.mhuss.AstroLib.DateOps
Convert a Java Calendar to Julian day value in long form.
calendarToDoubleDay(Calendar) - Static method in class com.mhuss.AstroLib.DateOps
Convert a Java Calendar to a Julian day value in double form.
cartesianToPolar(double[], double[]) - Static method in class com.mhuss.AstroLib.MathOps
 
CIVIL_TWI - Static variable in class com.mhuss.AstroLib.RiseSet
Calulation type (pseudo-enum)
CMac - Class in com.mhuss.Util
This is a set of handy utility functions (from 'C' land).
CMac() - Constructor for class com.mhuss.Util.CMac
 
com.mhuss.AstroLib - package com.mhuss.AstroLib
 
com.mhuss.Util - package com.mhuss.Util
 
computeSkyBrightness(VisLimitAngularBrightnessData) - Method in class com.mhuss.AstroLib.VisLimit
Compute the sky brightness.
CULMINATING - Static variable in class com.mhuss.AstroLib.RiseSet
State enum

D

DarkCal - Class in com.mhuss.AstroLib
A command-line program to determine the darkest hours for a given location & month.
DarkCal(boolean) - Constructor for class com.mhuss.AstroLib.DarkCal
Constructor (HTML switch only)
DarkCal(PrintWriter, boolean) - Constructor for class com.mhuss.AstroLib.DarkCal
Constructor (PrintWriter and HTML switch)
DarkCal(PrintWriter, boolean, boolean) - Constructor for class com.mhuss.AstroLib.DarkCal
Constructor (PrintWriter, HTML switch, and printable switch)
DarkCalCalc - Class in com.mhuss.AstroLib
A class to calculate and store DarkCal data, and optionally cache the data to a file.
DarkCalCalc(DarkCalInput, boolean) - Constructor for class com.mhuss.AstroLib.DarkCalCalc
Constructor
DarkCalData - Class in com.mhuss.AstroLib
A simple struct-style class to store DarkCal data
DarkCalInput - Class in com.mhuss.AstroLib
A simple struct-style class to hold date & observer location.
DarkCalInput() - Constructor for class com.mhuss.AstroLib.DarkCalInput
Default constructor.
DarkCalInput(int, int, double, double, int) - Constructor for class com.mhuss.AstroLib.DarkCalInput
Explicit (all values) constructor.
DarkCalProp - Class in com.mhuss.AstroLib
Properties file support for DarkCal
DarkCalProp() - Constructor for class com.mhuss.AstroLib.DarkCalProp
 
date(Date, int) - Static method in class com.mhuss.Util.DateU
Convert a Date into a date String using the default Locale.
date(Date) - Static method in class com.mhuss.Util.DateU
Convert a Date into a date String using the default Locale and the DateFormat.MEDIUM size.
dateNow(int) - Static method in class com.mhuss.Util.DateU
Return 'now' as a date String using the default Locale
dateNow() - Static method in class com.mhuss.Util.DateU
Return 'now' as a date String using the default Locale and the DateFormat.MEDIUM size.
DateOps - Class in com.mhuss.AstroLib
A class to perform calendrical conversions.
DateOps() - Constructor for class com.mhuss.AstroLib.DateOps
 
dateTime(Date, int) - Static method in class com.mhuss.Util.DateU
Convert a Date into a date and time String using the default Locale
dateTime(Date) - Static method in class com.mhuss.Util.DateU
Convert a Date into a date and time String using the default Locale and the DateFormat.MEDIUM size.
dateTime(Calendar) - Static method in class com.mhuss.Util.DateU
Convert a Calendar into a date and time String using the default Locale and the DateFormat.MEDIUM size.
dateTimeNow() - Static method in class com.mhuss.Util.DateU
Return 'now' as a date and time String using the default Locale and the DateFormat.MEDIUM size.
DateU - Class in com.mhuss.Util
A simple set of date and time formatters.
DateU() - Constructor for class com.mhuss.Util.DateU
 
day() - Method in class com.mhuss.AstroLib.AstroDate
Get the day.
DAYS_PER_HOUR - Static variable in class com.mhuss.AstroLib.Astro
The fraction of one day equivalent to one hour = 1/24.
DEG_PER_CIRCLE - Static variable in class com.mhuss.AstroLib.Astro
Degrees in a circle = 360
deSpace(String) - Static method in class com.mhuss.Util.Str
Remove spaces, commas, dots and single quotes from a String.
distMoon - Variable in class com.mhuss.AstroLib.VisLimitAngularBrightnessData
The lunar angular distance
distSun - Variable in class com.mhuss.AstroLib.VisLimitAngularBrightnessData
The solar angular distance
dmyToDay(int, int, int, int) - Static method in class com.mhuss.AstroLib.DateOps
Converts a day/month/year to a Julian day in long form.
dmyToDay(int, int, int) - Static method in class com.mhuss.AstroLib.DateOps
Converts a GREGORIAN day/month/year to a Julian day in long form.
dmyToDay(AstroDate) - Static method in class com.mhuss.AstroLib.DateOps
Converts an AstroDate to a Julian day in long form.
dmyToDoubleDay(AstroDate) - Static method in class com.mhuss.AstroLib.DateOps
Converts a day/month/year to a Julian day in double form.
dstEnd(int) - Static method in class com.mhuss.AstroLib.DateOps
Calculate the Julian day number for the date when Daylight time ends in a given year.
dstOffset(Calendar) - Static method in class com.mhuss.AstroLib.TimeOps
Calculate the current Daylight Time offset ( 0 or -1 ).
dstOffset() - Static method in class com.mhuss.AstroLib.TimeOps
Calculate the current Daylight Time offset.
dstOffsetInDays(Calendar) - Static method in class com.mhuss.AstroLib.TimeOps
Calculate the current Daylight Time offset in fractional days.
dstOffsetInDays() - Static method in class com.mhuss.AstroLib.TimeOps
Calculate the current Daylight Time offset in fractional days.
dstStart(int) - Static method in class com.mhuss.AstroLib.DateOps
Calculate the Julian day number for the date when Daylight time starts in a given year.

E

EARTH - Static variable in class com.mhuss.AstroLib.Planets
 
escape(String) - Static method in class com.mhuss.Util.Str
Make a String URL-friendly by escaping all reserved chars.
exists(String) - Static method in class com.mhuss.Util.FileU
Determine if the specified file exists and is readable.
extractInt(String) - Static method in class com.mhuss.Util.Str
Extract the first digit substring from the passed in String and convert to an int.

F

FileU - Class in com.mhuss.Util
Miscellaneous handy-dandy utility functions for file I/O.
FileU() - Constructor for class com.mhuss.Util.FileU
 
fmt(int, int) - Static method in class com.mhuss.Util.Str
Format a String representation of an integer at the specified width.
fmt(int, int, char) - Static method in class com.mhuss.Util.Str
Format a String representation of an integer at the specified width, and add the specified suffix.
fmt(int) - Static method in class com.mhuss.Util.Str
Format a String representation of an integer using a default width of two (2).
fmt(int, char) - Static method in class com.mhuss.Util.Str
Format a String representation of an integer using a default width of two (2), and add the specified suffix.
formatTime(double) - Static method in class com.mhuss.AstroLib.TimeOps
Format a time as a String using the format HH:MM.
FULL - Static variable in class com.mhuss.AstroLib.Lunar
phase constant

G

g_polarLEs - Variable in class com.mhuss.AstroLib.PlanetData
 
get() - Method in class com.mhuss.AstroLib.LocationElements
Get all values in this instance as a vector.
getAltAzLat() - Method in class com.mhuss.AstroLib.PlanetData
Get the Alt-Az latitude.
getAltAzLon() - Method in class com.mhuss.AstroLib.PlanetData
Get the Alt-Az longitude.
getAltAzRadius() - Method in class com.mhuss.AstroLib.PlanetData
Get the Alt-Az radius.
getBrightness(int) - Method in class com.mhuss.AstroLib.VisLimit
Get the brightess value.
getDeclination() - Method in class com.mhuss.AstroLib.PlanetData
Get the declination in radians.
getDEpsilon() - Method in class com.mhuss.AstroLib.Nutation
Delta Epsilon value.
getDPhi() - Method in class com.mhuss.AstroLib.Nutation
Delta Phi value.
getEclipticLat() - Method in class com.mhuss.AstroLib.PlanetData
Get the ecliptic latitude.
getEclipticLon() - Method in class com.mhuss.AstroLib.PlanetData
Get the ecliptic longitude.
getEclipticRadius() - Method in class com.mhuss.AstroLib.PlanetData
Get the ecliptic radius.
getEclipticXYZ() - Method in class com.mhuss.AstroLib.PlanetData
Get the geocentric ecliptic cartesian Coords x, y, z.
getEquatorialLat() - Method in class com.mhuss.AstroLib.PlanetData
Get the equatorial latitude (y).
getEquatorialLon() - Method in class com.mhuss.AstroLib.PlanetData
Get the equatorial longitude (x).
getEquatorialRadius() - Method in class com.mhuss.AstroLib.PlanetData
Get the equatorial radius (z).
getExtinction(int) - Method in class com.mhuss.AstroLib.VisLimit
Get the extinction value.
getFS() - Static method in class com.mhuss.Util.FileU
Get the system file separator ("/" or "\")
getK(int) - Method in class com.mhuss.AstroLib.VisLimit
Get the K band value.
getLatitude() - Method in class com.mhuss.AstroLib.LocationElements
Get the latitude
getLatitude() - Method in class com.mhuss.AstroLib.Lunar
Calculate the latitude in degrees.
getLatitudeDeg() - Method in class com.mhuss.AstroLib.ObsInfo
Get latitude in degrees.
getLatitudeRad() - Method in class com.mhuss.AstroLib.ObsInfo
Get latitude in radians.
getLatitudeRadians() - Method in class com.mhuss.AstroLib.Lunar
Calculate the lunar latitude in radians.
getLongitude() - Method in class com.mhuss.AstroLib.LocationElements
Get the longitude
getLongitude() - Method in class com.mhuss.AstroLib.Lunar
Calculate the lunar longitude in degrees.
getLongitudeDeg() - Method in class com.mhuss.AstroLib.ObsInfo
Get longitude in degrees.
getLongitudeRad() - Method in class com.mhuss.AstroLib.ObsInfo
Get longitude in radians.
getLongitudeRadians() - Method in class com.mhuss.AstroLib.Lunar
Calculate the lunar longitude in radians.
getPhase(long, int, Calendar) - Static method in class com.mhuss.AstroLib.Lunar
Calculate the time of the quarter nearest the given Julian day.
getPhase(long, int) - Static method in class com.mhuss.AstroLib.Lunar
Calculate the time of the quarter nearest the given Julian day.
getPolarLat() - Method in class com.mhuss.AstroLib.PlanetData
Get the polar latitude.
getPolarLon() - Method in class com.mhuss.AstroLib.PlanetData
Get the polar longitude.
getPolarRadius() - Method in class com.mhuss.AstroLib.PlanetData
Get the polar radius.
getRadius() - Method in class com.mhuss.AstroLib.LocationElements
Get the radius
getRadius() - Method in class com.mhuss.AstroLib.Lunar
Calculate the lunar radius (distance).
getRightAscension() - Method in class com.mhuss.AstroLib.PlanetData
Get the right ascension in radians.
getSolarLat() - Method in class com.mhuss.AstroLib.PlanetData
Get the Solar ecliptic latitude in radians (Geocentric ecliptical coordinates of the Sun, usually close to zero)
getSolarLon() - Method in class com.mhuss.AstroLib.PlanetData
Get the geocentric ecliptic longitude of the Sun in radians
getSolarRadius() - Method in class com.mhuss.AstroLib.PlanetData
Get the solar radius of the Earth.
getTimes(int, double, ObsInfo, PlanetData) - Static method in class com.mhuss.AstroLib.RiseSet
Calculate the rise/set (or start/end) times.
getTimes(int, double, ObsInfo) - Static method in class com.mhuss.AstroLib.RiseSet
Calculate the rise/set (or start/end) times.
getTimeZone() - Method in class com.mhuss.AstroLib.ObsInfo
Get time zone offset.
getX() - Method in class com.mhuss.AstroLib.LocationElements
Get the X element
getY() - Method in class com.mhuss.AstroLib.LocationElements
Get the Y element
getZ() - Method in class com.mhuss.AstroLib.LocationElements
Get the Z element
greenwichSiderealTime(double) - Static method in class com.mhuss.AstroLib.AstroOps
Calculates the sidereal UTC time.
GREGORIAN - Static variable in class com.mhuss.AstroLib.DateOps
Pseudo-enum for calendar type

H

hex(char) - Static method in class com.mhuss.Util.Str
Convert a char to a "%hh" string.
hour() - Method in class com.mhuss.AstroLib.AstroDate
Get the Hour.
hourAngle() - Method in class com.mhuss.AstroLib.PlanetData
Get the hour angle.
hourRound() - Method in class com.mhuss.AstroLib.AstroDate
Get the rounded hour.
HOURS_PER_DAY - Static variable in class com.mhuss.AstroLib.Astro
Hours in one day as a double
htAboveSeaInMeters - Variable in class com.mhuss.AstroLib.VisLimitFixedBrightnessData
Altitude (above sea level) in meters

I

IHOURS_PER_DAY - Static variable in class com.mhuss.AstroLib.Astro
Hours in one day as an integer
illuminatedFraction() - Method in class com.mhuss.AstroLib.Lunar
Calculate the illuminated fraction.
IMINUTES_PER_HOUR - Static variable in class com.mhuss.AstroLib.Astro
Minutes in one hour as an integer
INVALID - Static variable in class com.mhuss.AstroLib.Astro
Our generic "invalid" double value.
invalidate() - Method in class com.mhuss.AstroLib.LocationElements
Mark all members as invalid
isalnum(char) - Static method in class com.mhuss.Util.CMac
Returns true if the char isalpha() or isdigit().
isalpha(char) - Static method in class com.mhuss.Util.CMac
Returns true if the char isupper() or islower().
isascii(char) - Static method in class com.mhuss.Util.CMac
Returns true if the int value of the char is from 0 to 127 inclusive.
isdigit(char) - Static method in class com.mhuss.Util.CMac
Returns true if the char is from '0' to '9' inclusive.
islower(char) - Static method in class com.mhuss.Util.CMac
Returns true if the char is from 'a' to 'z' inclusive.
isspace(char) - Static method in class com.mhuss.Util.CMac
Returns true if the char is in the set SP, HT, LF, VT, FF, CR.
isupper(char) - Static method in class com.mhuss.Util.CMac
Returns true if the char is from 'A' to 'Z' inclusive.
isxdigit(char) - Static method in class com.mhuss.Util.CMac
Returns true if the char isdigit() or is from 'A' to 'F' or 'a' to 'f' inclusive.

J

J2000 - Static variable in class com.mhuss.AstroLib.Astro
Our default epoch.
jd(AstroDate, boolean) - Static method in class com.mhuss.AstroLib.AstroDate
Convert an AstroDate to a Julian Day.
jd(AstroDate) - Static method in class com.mhuss.AstroLib.AstroDate
Convert an AstroDate to a Julian Day.
jd(boolean) - Method in class com.mhuss.AstroLib.AstroDate
Convert this instance of AstroDate to a Julian Day.
jd() - Method in class com.mhuss.AstroLib.AstroDate
Convert this instance of AstroDate to a Julian Day.
jd() - Method in class com.mhuss.AstroLib.PlanetData
Get the Julian day number.
JULIAN - Static variable in class com.mhuss.AstroLib.DateOps
Pseudo-enum for calendar type
JUPITER - Static variable in class com.mhuss.AstroLib.Planets
 

L

lat - Variable in class com.mhuss.AstroLib.DarkCalInput
Observer's latitude
Latitude - Class in com.mhuss.AstroLib
A simple class to create a type-safe Latitude
Latitude(double) - Constructor for class com.mhuss.AstroLib.Latitude
 
LATITUDE - Static variable in class com.mhuss.AstroLib.LocationElements
Pseudo-enum indices into vector form of LocationElements.
latitude - Variable in class com.mhuss.AstroLib.VisLimitFixedBrightnessData
Latitude
limitingMagnitude() - Method in class com.mhuss.AstroLib.VisLimit
Calculate the limiting magnitude.
LocationElements - Class in com.mhuss.AstroLib
This is a convenience class used for passing around polar coordinates.
LocationElements() - Constructor for class com.mhuss.AstroLib.LocationElements
Default constructor
LocationElements(Latitude, Longitude, double) - Constructor for class com.mhuss.AstroLib.LocationElements
Explicit constructor
LocationElements(double[]) - Constructor for class com.mhuss.AstroLib.LocationElements
Vector constructor
lon - Variable in class com.mhuss.AstroLib.DarkCalInput
Observer's longitude
LONGITUDE - Static variable in class com.mhuss.AstroLib.LocationElements
Pseudo-enum indices into vector form of LocationElements.
Longitude - Class in com.mhuss.AstroLib
A simple class to create a type-safe Longitude
Longitude(double) - Constructor for class com.mhuss.AstroLib.Longitude
 
LUNA - Static variable in class com.mhuss.AstroLib.Planets
Earth's moon - not a planet, but it is a heavenly body.
Lunar - Class in com.mhuss.AstroLib
A class that can calculate lunar fundmentals for any reasonable time.
Lunar() - Constructor for class com.mhuss.AstroLib.Lunar
Default constructor
Lunar(double) - Constructor for class com.mhuss.AstroLib.Lunar
Date/time constructor.
LunarCalc - Class in com.mhuss.AstroLib
LunarCalc is a class that does lunar calculations that do not directly depend on the lunar fundamentals (although some do need to call functions in Lunar).
LunarCalc() - Constructor for class com.mhuss.AstroLib.LunarCalc
 
LunarRS() - Static method in class com.mhuss.AstroLib.AstroTest
 
LunarTerms - Class in com.mhuss.AstroLib
Holds a large quantity of constant data terms for class Lunar.
LunarTerms() - Constructor for class com.mhuss.AstroLib.LunarTerms
 
lunation(long) - Static method in class com.mhuss.AstroLib.LunarCalc
Calculate the lunation for specified Julian day.
lunation(GregorianCalendar) - Static method in class com.mhuss.AstroLib.LunarCalc
Calculate the lunation for specified GregorianCalendar instance.
lunation() - Static method in class com.mhuss.AstroLib.LunarCalc
Calculate the lunation at the present time.

M

m_altAzLEs - Variable in class com.mhuss.AstroLib.PlanetData
 
m_centuries - Variable in class com.mhuss.AstroLib.PlanetData
 
m_declination - Variable in class com.mhuss.AstroLib.PlanetData
 
m_eclipticLEs - Variable in class com.mhuss.AstroLib.PlanetData
 
m_equatorialLEs - Variable in class com.mhuss.AstroLib.PlanetData
 
m_hourAngle - Variable in class com.mhuss.AstroLib.PlanetData
 
m_initComplete - Variable in class com.mhuss.AstroLib.PlanetData
 
m_jd - Variable in class com.mhuss.AstroLib.PlanetData
 
m_planet - Variable in class com.mhuss.AstroLib.PlanetData
 
m_polarLEs - Variable in class com.mhuss.AstroLib.PlanetData
 
m_rightAscension - Variable in class com.mhuss.AstroLib.PlanetData
 
main(String[]) - Static method in class com.mhuss.AstroLib.AstroDate
(for unit testing only)
main(String[]) - Static method in class com.mhuss.AstroLib.AstroTest
 
main(String[]) - Static method in class com.mhuss.AstroLib.DarkCal
The main program entry point.
main(String[]) - Static method in class com.mhuss.AstroLib.DateOps
(for unit testing only)
main(String[]) - Static method in class com.mhuss.AstroLib.Lunar
(for unit testing only)
main(String[]) - Static method in class com.mhuss.AstroLib.LunarCalc
(for unit testing only)
main(String[]) - Static method in class com.mhuss.AstroLib.Nutation
(for unit testing only)
main(String[]) - Static method in class com.mhuss.AstroLib.VisLimit
(for unit testing only)
MARS - Static variable in class com.mhuss.AstroLib.Planets
 
MathOps - Class in com.mhuss.AstroLib
MathOps contains some useful trig, vector and matrix operations.
MathOps() - Constructor for class com.mhuss.AstroLib.MathOps
 
meanObliquity(double) - Static method in class com.mhuss.AstroLib.AstroOps
Calculates the mean obliquity at a given time.
MERCURY - Static variable in class com.mhuss.AstroLib.Planets
 
millenniumAtlasPage(double, double) - Static method in class com.mhuss.AstroLib.AtlasRef
This function returns the page number in the Millennium Star Atlas that best shows the location specified.
MILLISECONDS_PER_HOUR - Static variable in class com.mhuss.AstroLib.Astro
Milliseconds in one hour
MILLISECONDS_PER_SECOND - Static variable in class com.mhuss.AstroLib.Astro
Milliseconds in one second
minute() - Method in class com.mhuss.AstroLib.AstroDate
Get the minute.
minuteRound() - Method in class com.mhuss.AstroLib.AstroDate
Get the rounded minute.
MINUTES_PER_DEGREE - Static variable in class com.mhuss.AstroLib.Astro
Arc minutes in one degree = 60
MINUTES_PER_HOUR - Static variable in class com.mhuss.AstroLib.Astro
Minutes in one hour as a double
month() - Method in class com.mhuss.AstroLib.AstroDate
Get the month.
month - Variable in class com.mhuss.AstroLib.DarkCalInput
Month to process
month - Variable in class com.mhuss.AstroLib.VisLimitFixedBrightnessData
Month
MOON - Static variable in class com.mhuss.AstroLib.RiseSet
Calulation type (pseudo-enum)
MOON_ALT - Static variable in class com.mhuss.AstroLib.RiseSet
Lunar altitude adjustment
moonElongation - Variable in class com.mhuss.AstroLib.VisLimitFixedBrightnessData
The lunar elongation

N

N_TWI_ALT - Static variable in class com.mhuss.AstroLib.RiseSet
Nautical twilight altitude (when sun is 12 degrees below horizon).
NAP - Static variable in class com.mhuss.AstroLib.Planets
NAP = Not A Planet.
NAUTICAL_TWI - Static variable in class com.mhuss.AstroLib.RiseSet
Calulation type (pseudo-enum)
NEPTUNE - Static variable in class com.mhuss.AstroLib.Planets
 
NEW - Static variable in class com.mhuss.AstroLib.Lunar
phase constant
NoInitException - Exception in com.mhuss.AstroLib
NoInitException is thrown if the caller attempts to call a method which requires some sort of initializtion if init was not done.
NoInitException() - Constructor for exception com.mhuss.AstroLib.NoInitException
Catches exceptions without a specified string
NoInitException(String) - Constructor for exception com.mhuss.AstroLib.NoInitException
Constructs the appropriate exception with the specified string
normalizeDegrees(double) - Static method in class com.mhuss.AstroLib.AstroOps
Reduce an angle in degrees to the range (0 <= deg < 360)
normalizeRadians(double) - Static method in class com.mhuss.AstroLib.AstroOps
Reduce an angle in radians to the range (0 <= rad < 2Pi)
nowToDay() - Static method in class com.mhuss.AstroLib.DateOps
Calculate the current Julian day value in long form.
nowToDoubleDay() - Static method in class com.mhuss.AstroLib.DateOps
Calculate the current Julian day value in double form.
Nutation - Class in com.mhuss.AstroLib
Nutation functions and static data.
Nutation() - Constructor for class com.mhuss.AstroLib.Nutation
Default constructor.
Nutation(double) - Constructor for class com.mhuss.AstroLib.Nutation
Time only constructor.
Nutation(double, double, double) - Constructor for class com.mhuss.AstroLib.Nutation
Explicit (all values) constructor.

O

ObsInfo - Class in com.mhuss.AstroLib
Holds latitude, longitude and time zone of an observing location.
ObsInfo() - Constructor for class com.mhuss.AstroLib.ObsInfo
Default constructor
ObsInfo(Latitude, Longitude, int) - Constructor for class com.mhuss.AstroLib.ObsInfo
Explicit (all values) constructor.
ObsInfo(Latitude, Longitude) - Constructor for class com.mhuss.AstroLib.ObsInfo
Location only constructor.

P

phaseAngle() - Method in class com.mhuss.AstroLib.Lunar
Calculate the phase angle in radians.
PI_OVER_TWO - Static variable in class com.mhuss.AstroLib.Astro
Pi divided by two
planet() - Method in class com.mhuss.AstroLib.PlanetData
Get the Planets number.
PLANET_ALT - Static variable in class com.mhuss.AstroLib.RiseSet
Stellar altitude adjustment
PlanetData - Class in com.mhuss.AstroLib
This class handles planetary motion calculations and conversions.
PlanetData() - Constructor for class com.mhuss.AstroLib.PlanetData
Default constructor.
PlanetData(int, double, double, ObsInfo) - Constructor for class com.mhuss.AstroLib.PlanetData
Explicit (all parameters) constructor.
PlanetData(int, double, ObsInfo) - Constructor for class com.mhuss.AstroLib.PlanetData
 
PLANETOID - Static variable in class com.mhuss.AstroLib.Planets
 
Planets - Class in com.mhuss.AstroLib
A common place to store planetary constants.
Planets() - Constructor for class com.mhuss.AstroLib.Planets
 
PLUTO - Static variable in class com.mhuss.AstroLib.Planets
 
Pluto - Class in com.mhuss.AstroLib
A class that can calculate the orbit of Pluto.
Pluto() - Constructor for class com.mhuss.AstroLib.Pluto
 
Pluto2 - Class in com.mhuss.AstroLib
 
Pluto2() - Constructor for class com.mhuss.AstroLib.Pluto2
 
polarToCartesian(double[], double, double, double) - Static method in class com.mhuss.AstroLib.MathOps
Convert polar coordinates with radius to Cartesian coordinates added by w.
polarToCartesian(double[], double[]) - Static method in class com.mhuss.AstroLib.MathOps
Convert polar coordinates with radius to Cartesian coordinates added by w.
print(DarkCalInput) - Method in class com.mhuss.AstroLib.DarkCal
Read the DarkCalData values and print them out.
printData(DarkCalData) - Method in class com.mhuss.AstroLib.DarkCal
Print out the data
Punit() - Static method in class com.mhuss.AstroLib.AstroTest
 

Q

Q1 - Static variable in class com.mhuss.AstroLib.Lunar
phase constant
Q3 - Static variable in class com.mhuss.AstroLib.Lunar
phase constant
quadrant(double) - Static method in class com.mhuss.AstroLib.AstroOps
Returns the quadrant (0, 1, 2, or 3) of the specified angle.
quarterChange(double, ObsInfo) - Static method in class com.mhuss.AstroLib.LunarCalc
Calculate the relatively exact time of the lunar quarter change (NM, 1Q, FM, or 3Q).

R

RADIUS - Static variable in class com.mhuss.AstroLib.LocationElements
Pseudo-enum indices into vector form of LocationElements.
relativeHumidity - Variable in class com.mhuss.AstroLib.VisLimitFixedBrightnessData
Relative humidity
RiseSet - Class in com.mhuss.AstroLib
Calculates rise & set times of the sun or moon, and also calculates twilight times (civil/nautical/astronomical).
RiseSet() - Constructor for class com.mhuss.AstroLib.RiseSet
 
RISING - Static variable in class com.mhuss.AstroLib.RiseSet
State enum
rotateVector(double[], double, int) - Static method in class com.mhuss.AstroLib.MathOps
Rotate a vector along the specified axis.
ROUND_UP - Static variable in class com.mhuss.AstroLib.Astro
A convenient rounding value
ruklPage(double, double) - Static method in class com.mhuss.AstroLib.AtlasRef
This function returns the page number in Rukl that best shows the lunar location specified.

S

SATURN - Static variable in class com.mhuss.AstroLib.Planets
 
second() - Method in class com.mhuss.AstroLib.AstroDate
Get the second.
SECONDS_PER_DAY - Static variable in class com.mhuss.AstroLib.Astro
Seconds in one day
SECONDS_PER_DEGREE - Static variable in class com.mhuss.AstroLib.Astro
Arc seconds in one degree = 360
SECONDS_PER_HOUR - Static variable in class com.mhuss.AstroLib.Astro
Seconds in one hour
SECONDS_PER_MINUTE - Static variable in class com.mhuss.AstroLib.Astro
Seconds in one minute
set(double[]) - Method in class com.mhuss.AstroLib.LocationElements
Set all members of this instance from a vector.
set(double, double, double) - Method in class com.mhuss.AstroLib.LocationElements
Set all members of this instance individually
setBrightnessParams(VisLimitFixedBrightnessData) - Method in class com.mhuss.AstroLib.VisLimit
Set the fixed brightness parameters.
setIdentityMatrix(double[]) - Static method in class com.mhuss.AstroLib.MathOps
Initializes a matrix to base (identity) values.
setLatitude(double) - Method in class com.mhuss.AstroLib.LocationElements
Set the latitude
setLatitudeDeg(double) - Method in class com.mhuss.AstroLib.ObsInfo
Set latitude in degrees.
setLatitudeRad(double) - Method in class com.mhuss.AstroLib.ObsInfo
Set latitude in radians.
setLongitude(double) - Method in class com.mhuss.AstroLib.LocationElements
Set the longitude
setLongitudeDeg(double) - Method in class com.mhuss.AstroLib.ObsInfo
Set longitude in degrees.
setLongitudeRad(double) - Method in class com.mhuss.AstroLib.ObsInfo
Set longitude in radians.
setMask(int) - Method in class com.mhuss.AstroLib.VisLimit
Set the mask value.
setOptLink(String) - Method in class com.mhuss.AstroLib.DarkCal
Set the optional return link URL.
setRadius(double) - Method in class com.mhuss.AstroLib.LocationElements
Set the radius
setTimeZone(int) - Method in class com.mhuss.AstroLib.ObsInfo
Set time zone offset.
SETTING - Static variable in class com.mhuss.AstroLib.RiseSet
State enum
skyAtlasPage(double, double) - Static method in class com.mhuss.AstroLib.AtlasRef
This function returns the page number in Sky Atlas 2000 page that best shows the location specified.
Str - Class in com.mhuss.Util
This class holds a potporri of static String functions not included in java.lang.String.
Str() - Constructor for class com.mhuss.Util.Str
 
summary(ObsInfo) - Static method in class com.mhuss.AstroLib.LunarCalc
Build a current lunar information summary String.
summaryPHL() - Static method in class com.mhuss.AstroLib.LunarCalc
Build a current lunar information summary String for Phila, PA, USA (a shameless convenience function for dvaa.org).
SUN - Static variable in class com.mhuss.AstroLib.Planets
 
SUN - Static variable in class com.mhuss.AstroLib.RiseSet
Calulation type (pseudo-enum)
SUN_ALT - Static variable in class com.mhuss.AstroLib.RiseSet
Solar altitude adjustment
SUN_TOPO_ALT - Static variable in class com.mhuss.AstroLib.RiseSet
Solar an lunar topocentric altitude adjustment
SYNODIC_MONTH - Static variable in class com.mhuss.AstroLib.LunarCalc
Exact number of days from one new moon to the next new moon.

T

temperatureInC - Variable in class com.mhuss.AstroLib.VisLimitFixedBrightnessData
Temperature in degrees Centigrade
time(Date, int) - Static method in class com.mhuss.Util.DateU
Convert a Date into a time String using the default Locale
time(Date) - Static method in class com.mhuss.Util.DateU
Convert a Date into a time String using the default Locale and the DateFormat.MEDIUM size.
TimeOps - Class in com.mhuss.AstroLib
TimeOps contains miscellaneous time-related functions.
TimeOps() - Constructor for class com.mhuss.AstroLib.TimeOps
 
TimePair - Class in com.mhuss.AstroLib
A simple class used to store a pair of times.
TimePair(double, double) - Constructor for class com.mhuss.AstroLib.TimePair
Explicit (both values) constructor.
TimePair(double, double, double) - Constructor for class com.mhuss.AstroLib.TimePair
Explicit (three values) constructor.
TimePair(TimePair) - Constructor for class com.mhuss.AstroLib.TimePair
Copy constructor
TimePair() - Constructor for class com.mhuss.AstroLib.TimePair
Default constructor
TO_CENTURIES - Static variable in class com.mhuss.AstroLib.Astro
Julian millenia conversion constant = 100 * days per year
toDays(int) - Static method in class com.mhuss.AstroLib.AstroOps
Converts the hour to a day fraction.
toGCalendar() - Method in class com.mhuss.AstroLib.AstroDate
Convert this AstroDate instance to a GregorianCalendar.
tolower(char) - Static method in class com.mhuss.Util.CMac
Returns lowercase of input char if input is from 'A' to 'Z', else returns input char unchanged.
toMillenia(double) - Static method in class com.mhuss.AstroLib.AstroOps
Convert a Julian day value to Julian millenia referenced to epoch J2000.
toMinString() - Method in class com.mhuss.AstroLib.AstroDate
Convert this AstroDate instance to a String, formatted to the minute.
toMinStringTZ() - Method in class com.mhuss.AstroLib.AstroDate
Convert this AstroDate instance to a String formatted to the minute, with Time Zone indicator.
TopocReductionEcl(double[], double, double, double) - Static method in class com.mhuss.AstroLib.PlanetData
Reduces cartesian ecliptical coordinates from geocentric to topocentric
toString() - Method in class com.mhuss.AstroLib.AstroDate
Convert this AstroDate instance to a String.
toStringTZ() - Method in class com.mhuss.AstroLib.AstroDate
Convert this AstroDate instance to a String, with Time Zone indicator.
toupper(char) - Static method in class com.mhuss.Util.CMac
Returns uppercase of input char if input is from 'a' to 'z', else returns input char unchanged.
TWO_OVER_PI - Static variable in class com.mhuss.AstroLib.Astro
Two divided by Pi
TWO_PI - Static variable in class com.mhuss.AstroLib.Astro
Two times Pi
tz - Variable in class com.mhuss.AstroLib.DarkCalInput
Observer's time zone offset relative to UTC (-12 to 12 inclusive).
tzOffset(Calendar) - Static method in class com.mhuss.AstroLib.TimeOps
Determine the absolute time zone offset from UTC in hours (-12 to +12) for the spec'd Calendar.
tzOffset() - Static method in class com.mhuss.AstroLib.TimeOps
Determine the absolute time zone offset from UTC in hours (-12 to +12) using the local timezone.
tzOffsetInDays(Calendar) - Static method in class com.mhuss.AstroLib.TimeOps
Determine the absolute time zone offset from UTC in fractional days (-0.5 to +0.5).
tzOffsetInDays() - Static method in class com.mhuss.AstroLib.TimeOps
Determine the absolute time zone offset from UTC in fractional days (-0.5 to +0.5).

U

unescape(String) - Static method in class com.mhuss.Util.Str
Make a URL-friendly "escaped" String human-friendly.
unhex(String) - Static method in class com.mhuss.Util.Str
Convert a "%hh" String to a char.
UNKNOWN - Static variable in class com.mhuss.AstroLib.RiseSet
State enum
uranometriaPage(double, double, boolean) - Static method in class com.mhuss.AstroLib.AtlasRef
This function returns the page number in Uranometria that best shows the location specified.
uranometriaPage(double, double) - Static method in class com.mhuss.AstroLib.AtlasRef
This function returns the page number in the original edition of Uranometria that best shows the location specified.
URANUS - Static variable in class com.mhuss.AstroLib.Planets
 

V

value - Variable in class com.mhuss.AstroLib.Latitude
 
value - Variable in class com.mhuss.AstroLib.Longitude
 
ValueException - Exception in com.mhuss.AstroLib
ValueException is thrown if the caller attempts to pass in an invalid value, or the results of a calculation generate an invalid value.
ValueException() - Constructor for exception com.mhuss.AstroLib.ValueException
Catches exceptions without a specified string
ValueException(String) - Constructor for exception com.mhuss.AstroLib.ValueException
Constructs the appropriate exception with the specified string
VECTOR_SIZE - Static variable in class com.mhuss.AstroLib.MathOps
 
VENUS - Static variable in class com.mhuss.AstroLib.Planets
 
VisLimit - Class in com.mhuss.AstroLib
Calculates sky brightness and limiting magnitude.
VisLimit() - Constructor for class com.mhuss.AstroLib.VisLimit
Default constructor.
VisLimit(int, VisLimitFixedBrightnessData, VisLimitAngularBrightnessData) - Constructor for class com.mhuss.AstroLib.VisLimit
Explicit (all values) constructor.
VisLimitAngularBrightnessData - Class in com.mhuss.AstroLib
A support class for VisLimit.
VisLimitAngularBrightnessData() - Constructor for class com.mhuss.AstroLib.VisLimitAngularBrightnessData
 
VisLimitAngularBrightnessData(double, double, double) - Constructor for class com.mhuss.AstroLib.VisLimitAngularBrightnessData
 
VisLimitFixedBrightnessData - Class in com.mhuss.AstroLib
A support class for VisLimit.
VisLimitFixedBrightnessData() - Constructor for class com.mhuss.AstroLib.VisLimitFixedBrightnessData
 
VisLimitFixedBrightnessData(double, double, double, double, double, double, double, double, double) - Constructor for class com.mhuss.AstroLib.VisLimitFixedBrightnessData
 
Vsop - Class in com.mhuss.AstroLib
This class wraps the VSOP87 data and provides VSOP planetary position calculation functions for Mercury through Neptune (VSOP doesn't handle the moon or Pluto).
Vsop() - Constructor for class com.mhuss.AstroLib.Vsop
 
VsopData - Class in com.mhuss.AstroLib
All the static VSOP data, in a separate file for managability.
VsopData() - Constructor for class com.mhuss.AstroLib.VsopData
 

X

X - Static variable in class com.mhuss.AstroLib.LocationElements
 

Y

Y - Static variable in class com.mhuss.AstroLib.LocationElements
 
year() - Method in class com.mhuss.AstroLib.AstroDate
Get the year.
year - Variable in class com.mhuss.AstroLib.DarkCalInput
Year
year - Variable in class com.mhuss.AstroLib.VisLimitFixedBrightnessData
Year

Z

Z - Static variable in class com.mhuss.AstroLib.LocationElements
 
zenithAngle - Variable in class com.mhuss.AstroLib.VisLimitAngularBrightnessData
The zenith angle
zenithAngMoon - Variable in class com.mhuss.AstroLib.VisLimitFixedBrightnessData
The lunar zenith angle
zenithAngSun - Variable in class com.mhuss.AstroLib.VisLimitFixedBrightnessData
The solar zenith angle

A B C D E F G H I J L M N O P Q R S T U V X Y Z
mhuss utils 1.1.5ws

bottom text