Index

A B C D E F G H I J L M N O P Q R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values

A

add(Matrix) - Method in class org.shredzone.commons.suncalc.util.Matrix
Adds a matrix to this matrix.
add(Vector) - Method in class org.shredzone.commons.suncalc.util.Vector
Returns a Vector that is the sum of this Vector and the given Vector.
angularRadius(double) - Static method in class org.shredzone.commons.suncalc.util.Moon
Returns the angular radius of the moon.
angularRadius(double) - Static method in class org.shredzone.commons.suncalc.util.Sun
Returns the angular radius of the sun.
apparentRefraction(double) - Static method in class org.shredzone.commons.suncalc.util.ExtendedMath
Calculates the atmospheric refraction of an object at the given apparent altitude.
ARCS - Static variable in class org.shredzone.commons.suncalc.util.ExtendedMath
Arc-Seconds per Radian.
ASTRONOMICAL - Enum constant in enum org.shredzone.commons.suncalc.SunTimes.Twilight
Astronomical twilight (-18°).
at(double[]) - Method in interface org.shredzone.commons.suncalc.param.LocationParameter
Sets the geolocation.
at(double, double) - Method in interface org.shredzone.commons.suncalc.param.LocationParameter
Sets the geolocation.
atHour(double) - Method in class org.shredzone.commons.suncalc.util.JulianDate
Returns a JulianDate of the current date and the given hour.
atJulianCentury(double) - Method in class org.shredzone.commons.suncalc.util.JulianDate
Returns a JulianDate of the given Julian century.
atModifiedJulianDate(double) - Method in class org.shredzone.commons.suncalc.util.JulianDate
Returns a JulianDate of the given modified Julian date.

B

BaseBuilder<T> - Class in org.shredzone.commons.suncalc.util
A base implementation of LocationParameter and TimeParameter.
BaseBuilder() - Constructor for class org.shredzone.commons.suncalc.util.BaseBuilder
 
BLUE_HOUR - Enum constant in enum org.shredzone.commons.suncalc.SunTimes.Twilight
Blue hour (-4°).
Builder<T> - Interface in org.shredzone.commons.suncalc.param
An interface for the method that eventually executes the calculation.

C

calculate(double, double, double, Function<Double, Double>) - Static method in class org.shredzone.commons.suncalc.util.Pegasus
Find the root of the given function within the boundaries.
CIVIL - Enum constant in enum org.shredzone.commons.suncalc.SunTimes.Twilight
Civil twilight (-6°).
clearLocation() - Method in class org.shredzone.commons.suncalc.util.BaseBuilder
Unset the geolocation.
compute() - Static method in class org.shredzone.commons.suncalc.MoonIllumination
Starts the computation of MoonIllumination.
compute() - Static method in class org.shredzone.commons.suncalc.MoonPhase
Starts the computation of MoonPhase.
compute() - Static method in class org.shredzone.commons.suncalc.MoonPosition
Starts the computation of MoonPosition.
compute() - Static method in class org.shredzone.commons.suncalc.MoonTimes
Starts the computation of MoonTimes.
compute() - Static method in class org.shredzone.commons.suncalc.SunPosition
Starts the computation of SunPosition.
compute() - Static method in class org.shredzone.commons.suncalc.SunTimes
Starts the computation of SunTimes.
copy() - Method in interface org.shredzone.commons.suncalc.param.GenericParameter
Creates a copy of the current parameters.
copy() - Method in class org.shredzone.commons.suncalc.util.BaseBuilder
 
cross(Vector) - Method in class org.shredzone.commons.suncalc.util.Vector
Returns a Vector that is the cross product of this Vector and the given Vector.

D

dms(int, int, double) - Static method in class org.shredzone.commons.suncalc.util.ExtendedMath
Converts dms to double.
dot(Vector) - Method in class org.shredzone.commons.suncalc.util.Vector
Returns the dot product of this Vector and the given Vector.

E

EARTH_MEAN_RADIUS - Static variable in class org.shredzone.commons.suncalc.util.ExtendedMath
Mean radius of the earth, in kilometers.
elevation(double) - Method in interface org.shredzone.commons.suncalc.param.LocationParameter
Sets the elevation.
elevation(double) - Method in class org.shredzone.commons.suncalc.util.BaseBuilder
 
elevationFt(double) - Method in interface org.shredzone.commons.suncalc.param.LocationParameter
Sets the elevation, in foot.
equals(Object) - Method in class org.shredzone.commons.suncalc.util.Matrix
 
equals(Object) - Method in class org.shredzone.commons.suncalc.util.Vector
 
equatorialToEcliptical(JulianDate) - Static method in class org.shredzone.commons.suncalc.util.ExtendedMath
Creates a rotational Matrix for converting equatorial to ecliptical coordinates.
equatorialToHorizontal(double, double, double, double) - Static method in class org.shredzone.commons.suncalc.util.ExtendedMath
Converts equatorial coordinates to horizontal coordinates.
execute() - Method in interface org.shredzone.commons.suncalc.param.Builder
Executes the calculation and returns the desired result.
ExtendedMath - Class in org.shredzone.commons.suncalc.util
Contains constants and mathematical operations that are not available in Math.

F

FIRST_QUARTER - Enum constant in enum org.shredzone.commons.suncalc.MoonPhase.Phase
Waxing half moon.
frac(double) - Static method in class org.shredzone.commons.suncalc.util.ExtendedMath
Returns the decimal part of a value.
FULL_MOON - Enum constant in enum org.shredzone.commons.suncalc.MoonPhase.Phase
Full moon.
fullCycle() - Method in interface org.shredzone.commons.suncalc.MoonTimes.Parameters
Computes until all rise and set times are found.
fullCycle() - Method in interface org.shredzone.commons.suncalc.SunTimes.Parameters
Computes until all rise, set, noon, and nadir times are found.

G

GenericParameter<T> - Interface in org.shredzone.commons.suncalc.param
Generic parameters and options.
geocentric() - Method in interface org.shredzone.commons.suncalc.MoonIllumination.Parameters
Clears the geolocation, so the result will be geocentric.
get(int, int) - Method in class org.shredzone.commons.suncalc.util.Matrix
Gets a value from the matrix.
getAltitude() - Method in class org.shredzone.commons.suncalc.MoonPosition
Moon altitude above the horizon, in degrees.
getAltitude() - Method in class org.shredzone.commons.suncalc.SunPosition
The visible sun altitude above the horizon, in degrees.
getAngle() - Method in class org.shredzone.commons.suncalc.MoonIllumination
The angle of the moon illumination relative to earth.
getAngle() - Method in enum org.shredzone.commons.suncalc.MoonPhase.Phase
Returns the moons's angle in reference to the sun, in degrees.
getAngle() - Method in enum org.shredzone.commons.suncalc.SunTimes.Twilight
Returns the sun's angle at the twilight position, in degrees.
getAngleRad() - Method in enum org.shredzone.commons.suncalc.MoonPhase.Phase
Returns the moons's angle in reference to the sun, in radians.
getAngleRad() - Method in enum org.shredzone.commons.suncalc.SunTimes.Twilight
Returns the sun's angle at the twilight position, in radians.
getAzimuth() - Method in class org.shredzone.commons.suncalc.MoonPosition
Moon azimuth, in degrees, north-based.
getAzimuth() - Method in class org.shredzone.commons.suncalc.SunPosition
Sun azimuth, in degrees, north-based.
getClosestPhase() - Method in class org.shredzone.commons.suncalc.MoonIllumination
The closest MoonPhase.Phase that is matching the moon's angle.
getCrescentWidth() - Method in class org.shredzone.commons.suncalc.MoonIllumination
The width of the moon crescent, as observed from a specific location on earth.
getDateTime() - Method in class org.shredzone.commons.suncalc.util.JulianDate
Returns this JulianDate as ZonedDateTime object.
getDistance() - Method in class org.shredzone.commons.suncalc.MoonPhase
Geocentric distance of the moon at the given phase, in kilometers.
getDistance() - Method in class org.shredzone.commons.suncalc.MoonPosition
Distance to the moon in kilometers.
getDistance() - Method in class org.shredzone.commons.suncalc.SunPosition
Sun's distance, in kilometers.
getElevation() - Method in class org.shredzone.commons.suncalc.util.BaseBuilder
Returns the elevation, in meters above sea level.
getElongation() - Method in class org.shredzone.commons.suncalc.MoonIllumination
The elongation, which is the angular distance between the moon and the sun as observed from a specific location on earth.
getFraction() - Method in class org.shredzone.commons.suncalc.MoonIllumination
Illuminated fraction.
getGreenwichMeanSiderealTime() - Method in class org.shredzone.commons.suncalc.util.JulianDate
Returns the Greenwich Mean Sidereal Time of this Julian Date.
getJulianCentury() - Method in class org.shredzone.commons.suncalc.util.JulianDate
Returns the Julian Centuries.
getJulianDate() - Method in class org.shredzone.commons.suncalc.util.BaseBuilder
Returns the JulianDate to be used.
getLatitude() - Method in class org.shredzone.commons.suncalc.util.BaseBuilder
Returns the latitude.
getLatitudeRad() - Method in class org.shredzone.commons.suncalc.util.BaseBuilder
Returns the latitude.
getLongitude() - Method in class org.shredzone.commons.suncalc.util.BaseBuilder
Returns the longitude.
getLongitudeRad() - Method in class org.shredzone.commons.suncalc.util.BaseBuilder
Returns the longitude.
getModifiedJulianDate() - Method in class org.shredzone.commons.suncalc.util.JulianDate
Returns the Modified Julian Date.
getNadir() - Method in class org.shredzone.commons.suncalc.SunTimes
The time when the sun reaches its lowest point.
getNoon() - Method in class org.shredzone.commons.suncalc.SunTimes
The time when the sun reaches its highest point.
getNumberOfRoots() - Method in class org.shredzone.commons.suncalc.util.QuadraticInterpolation
Returns the number of roots found in [-1 ..
getParallacticAngle() - Method in class org.shredzone.commons.suncalc.MoonPosition
Parallactic angle of the moon, in degrees.
getPhase() - Method in class org.shredzone.commons.suncalc.MoonIllumination
Moon phase.
getPhi() - Method in class org.shredzone.commons.suncalc.util.Vector
Returns the azimuthal angle (φ) in radians.
getR() - Method in class org.shredzone.commons.suncalc.util.Vector
Returns the polar radial distance (r).
getRadius() - Method in class org.shredzone.commons.suncalc.MoonIllumination
The radius of the moon disk, as observed from a specific location on earth.
getRise() - Method in class org.shredzone.commons.suncalc.MoonTimes
Moonrise time.
getRise() - Method in class org.shredzone.commons.suncalc.SunTimes
Sunrise time.
getRoot1() - Method in class org.shredzone.commons.suncalc.util.QuadraticInterpolation
Returns the first root that was found.
getRoot2() - Method in class org.shredzone.commons.suncalc.util.QuadraticInterpolation
Returns the second root that was found.
getSet() - Method in class org.shredzone.commons.suncalc.MoonTimes
Moonset time.
getSet() - Method in class org.shredzone.commons.suncalc.SunTimes
Sunset time.
getTheta() - Method in class org.shredzone.commons.suncalc.util.Vector
Returns the polar angle (θ) in radians.
getTime() - Method in class org.shredzone.commons.suncalc.MoonPhase
Date and time of the desired moon phase.
getTrueAltitude() - Method in class org.shredzone.commons.suncalc.MoonPosition
The true moon altitude above the horizon, in degrees.
getTrueAltitude() - Method in class org.shredzone.commons.suncalc.SunPosition
The true sun altitude above the horizon, in degrees.
getTrueAnomaly() - Method in class org.shredzone.commons.suncalc.util.JulianDate
Returns the earth's true anomaly of the current date.
getX() - Method in class org.shredzone.commons.suncalc.util.Vector
Returns the cartesian X coordinate.
getXe() - Method in class org.shredzone.commons.suncalc.util.QuadraticInterpolation
Returns X of extremum.
getY() - Method in class org.shredzone.commons.suncalc.util.Vector
Returns the cartesian Y coordinate.
getYe() - Method in class org.shredzone.commons.suncalc.util.QuadraticInterpolation
Returns the Y value at the extremum.
getZ() - Method in class org.shredzone.commons.suncalc.util.Vector
Returns the cartesian Z coordinate.
GOLDEN_HOUR - Enum constant in enum org.shredzone.commons.suncalc.SunTimes.Twilight
Golden hour (6°).

H

hashCode() - Method in class org.shredzone.commons.suncalc.util.Matrix
 
hashCode() - Method in class org.shredzone.commons.suncalc.util.Vector
 
hasLocation() - Method in class org.shredzone.commons.suncalc.util.BaseBuilder
Returns true if a geolocation has been set.
height(double) - Method in interface org.shredzone.commons.suncalc.param.LocationParameter
Deprecated.
heightFt(double) - Method in interface org.shredzone.commons.suncalc.param.LocationParameter
Deprecated.
HORIZON - Enum constant in enum org.shredzone.commons.suncalc.SunTimes.Twilight
The moment when the center of the sun crosses the horizon (0°).

I

identity() - Static method in class org.shredzone.commons.suncalc.util.Matrix
Creates an identity matrix.
isAlwaysDown() - Method in class org.shredzone.commons.suncalc.MoonTimes
true if the moon never rises/sets, but is always below the horizon.
isAlwaysDown() - Method in class org.shredzone.commons.suncalc.SunTimes
true if the sun never rises/sets, but is always below the twilight angle.
isAlwaysUp() - Method in class org.shredzone.commons.suncalc.MoonTimes
true if the moon never rises/sets, but is always above the horizon.
isAlwaysUp() - Method in class org.shredzone.commons.suncalc.SunTimes
true if the sun never rises/sets, but is always above the twilight angle.
isMaximum() - Method in class org.shredzone.commons.suncalc.util.QuadraticInterpolation
Returns whether the extremum is a minimum or a maximum.
isMicroMoon() - Method in class org.shredzone.commons.suncalc.MoonPhase
Checks if the moon is in a MicroMoon position.
isSuperMoon() - Method in class org.shredzone.commons.suncalc.MoonPhase
Checks if the moon is in a SuperMoon position.
isTopocentric() - Method in enum org.shredzone.commons.suncalc.SunTimes.Twilight
Returns true if this twilight position is topocentric.
isZero(double) - Static method in class org.shredzone.commons.suncalc.util.ExtendedMath
Performs a safe check if the given double is actually zero (0.0).

J

JulianDate - Class in org.shredzone.commons.suncalc.util
This class contains a Julian Date representation of a date.
JulianDate(ZonedDateTime) - Constructor for class org.shredzone.commons.suncalc.util.JulianDate
Creates a new JulianDate.

L

LAST_QUARTER - Enum constant in enum org.shredzone.commons.suncalc.MoonPhase.Phase
Waning half moon.
latitude(double) - Method in interface org.shredzone.commons.suncalc.param.LocationParameter
Sets the latitude.
latitude(double) - Method in class org.shredzone.commons.suncalc.util.BaseBuilder
 
latitude(int, int, double) - Method in interface org.shredzone.commons.suncalc.param.LocationParameter
Sets the latitude.
limit(Duration) - Method in interface org.shredzone.commons.suncalc.MoonTimes.Parameters
Limits the calculation window to the given Duration.
limit(Duration) - Method in interface org.shredzone.commons.suncalc.SunTimes.Parameters
Limits the calculation window to the given Duration.
localTime() - Method in interface org.shredzone.commons.suncalc.param.TimeParameter
Sets the system's timezone.
LocationParameter<T> - Interface in org.shredzone.commons.suncalc.param
Location based parameters.
longitude(double) - Method in interface org.shredzone.commons.suncalc.param.LocationParameter
Sets the longitude.
longitude(double) - Method in class org.shredzone.commons.suncalc.util.BaseBuilder
 
longitude(int, int, double) - Method in interface org.shredzone.commons.suncalc.param.LocationParameter
Sets the longitude.

M

Matrix - Class in org.shredzone.commons.suncalc.util
A three dimensional matrix.
midnight() - Method in interface org.shredzone.commons.suncalc.param.TimeParameter
Sets the time to the start of the current date ("last midnight").
midnight() - Method in class org.shredzone.commons.suncalc.util.BaseBuilder
 
Moon - Class in org.shredzone.commons.suncalc.util
Calculations and constants for the Moon.
MoonIllumination - Class in org.shredzone.commons.suncalc
Calculates the illumination of the moon.
MoonIllumination.Parameters - Interface in org.shredzone.commons.suncalc
Collects all parameters for MoonIllumination.
MoonPhase - Class in org.shredzone.commons.suncalc
Calculates the date and time when the moon reaches the desired phase.
MoonPhase.Parameters - Interface in org.shredzone.commons.suncalc
Collects all parameters for MoonPhase.
MoonPhase.Phase - Enum in org.shredzone.commons.suncalc
Enumeration of moon phases.
MoonPosition - Class in org.shredzone.commons.suncalc
Calculates the position of the moon.
MoonPosition.Parameters - Interface in org.shredzone.commons.suncalc
Collects all parameters for MoonPosition.
MoonTimes - Class in org.shredzone.commons.suncalc
Calculates the times of the moon.
MoonTimes.Parameters - Interface in org.shredzone.commons.suncalc
Collects all parameters for MoonTimes.
multiply(double) - Method in class org.shredzone.commons.suncalc.util.Matrix
Performs a scalar multiplication.
multiply(double) - Method in class org.shredzone.commons.suncalc.util.Vector
Returns a Vector that is the scalar product of this Vector and the given scalar.
multiply(Matrix) - Method in class org.shredzone.commons.suncalc.util.Matrix
Multiplies two matrices.
multiply(Vector) - Method in class org.shredzone.commons.suncalc.util.Matrix
Applies this matrix to a Vector.

N

NAUTICAL - Enum constant in enum org.shredzone.commons.suncalc.SunTimes.Twilight
Nautical twilight (-12°).
negate() - Method in class org.shredzone.commons.suncalc.util.Matrix
Negates this matrix.
negate() - Method in class org.shredzone.commons.suncalc.util.Vector
Returns the negation of this Vector.
NEW_MOON - Enum constant in enum org.shredzone.commons.suncalc.MoonPhase.Phase
New moon.
NIGHT_HOUR - Enum constant in enum org.shredzone.commons.suncalc.SunTimes.Twilight
End of Blue hour (-8°).
norm() - Method in class org.shredzone.commons.suncalc.util.Vector
Returns the norm of this Vector.
now() - Method in interface org.shredzone.commons.suncalc.param.TimeParameter
Sets the current date and time.
now() - Method in class org.shredzone.commons.suncalc.util.BaseBuilder
 

O

ofPolar(double, double) - Static method in class org.shredzone.commons.suncalc.util.Vector
Creates a new Vector of the given polar coordinates, with a radial distance of 1.
ofPolar(double, double, double) - Static method in class org.shredzone.commons.suncalc.util.Vector
Creates a new Vector of the given polar coordinates.
on(int, int, int) - Method in interface org.shredzone.commons.suncalc.param.TimeParameter
Sets midnight of the year, month and date.
on(int, int, int, int, int, int) - Method in interface org.shredzone.commons.suncalc.param.TimeParameter
Sets date and time.
on(int, int, int, int, int, int) - Method in class org.shredzone.commons.suncalc.util.BaseBuilder
 
on(Instant) - Method in interface org.shredzone.commons.suncalc.param.TimeParameter
Uses the given Instant instance.
on(Instant) - Method in class org.shredzone.commons.suncalc.util.BaseBuilder
 
on(LocalDate) - Method in interface org.shredzone.commons.suncalc.param.TimeParameter
Uses the given LocalDate instance, and assumes midnight.
on(LocalDate) - Method in class org.shredzone.commons.suncalc.util.BaseBuilder
 
on(LocalDateTime) - Method in interface org.shredzone.commons.suncalc.param.TimeParameter
Uses the given LocalDateTime instance.
on(LocalDateTime) - Method in class org.shredzone.commons.suncalc.util.BaseBuilder
 
on(ZonedDateTime) - Method in interface org.shredzone.commons.suncalc.param.TimeParameter
Uses the given ZonedDateTime instance.
on(ZonedDateTime) - Method in class org.shredzone.commons.suncalc.util.BaseBuilder
 
on(Calendar) - Method in interface org.shredzone.commons.suncalc.param.TimeParameter
Uses the given Calendar instance.
on(Date) - Method in interface org.shredzone.commons.suncalc.param.TimeParameter
Uses the given Date instance.
oneDay() - Method in interface org.shredzone.commons.suncalc.MoonTimes.Parameters
Limits the time window to the next 24 hours.
oneDay() - Method in interface org.shredzone.commons.suncalc.SunTimes.Parameters
Limits the time window to the next 24 hours.
org.shredzone.commons.suncalc - package org.shredzone.commons.suncalc
This is the main package.
org.shredzone.commons.suncalc.param - package org.shredzone.commons.suncalc.param
This package contains interfaces for setting common calculation parameters.
org.shredzone.commons.suncalc.util - package org.shredzone.commons.suncalc.util
This package contains internal utility methods.

P

parallax(double, double) - Static method in class org.shredzone.commons.suncalc.util.ExtendedMath
Returns the parallax for objects at the horizon.
Pegasus - Class in org.shredzone.commons.suncalc.util
Finds the root of a function by using the Pegasus method.
Pegasus() - Constructor for class org.shredzone.commons.suncalc.util.Pegasus
 
phase(double) - Method in interface org.shredzone.commons.suncalc.MoonPhase.Parameters
Sets a free phase to be used.
phase(MoonPhase.Phase) - Method in interface org.shredzone.commons.suncalc.MoonPhase.Parameters
Sets the desired MoonPhase.Phase.
PI2 - Static variable in class org.shredzone.commons.suncalc.util.ExtendedMath
PI * 2
plusDays(int) - Method in interface org.shredzone.commons.suncalc.param.TimeParameter
Adds a number of days to the current date.
plusDays(int) - Method in class org.shredzone.commons.suncalc.util.BaseBuilder
 
position(JulianDate) - Static method in class org.shredzone.commons.suncalc.util.Moon
Calculates the geocentric position of the moon.
position(JulianDate) - Static method in class org.shredzone.commons.suncalc.util.Sun
Calculates the geocentric position of the sun.
positionEquatorial(JulianDate) - Static method in class org.shredzone.commons.suncalc.util.Moon
Calculates the equatorial position of the moon.
positionEquatorial(JulianDate) - Static method in class org.shredzone.commons.suncalc.util.Sun
Calculates the equatorial position of the sun.
positionHorizontal(JulianDate, double, double) - Static method in class org.shredzone.commons.suncalc.util.Moon
Calculates the horizontal position of the moon.
positionHorizontal(JulianDate, double, double) - Static method in class org.shredzone.commons.suncalc.util.Sun
Calculates the horizontal position of the sun.
positionTopocentric(JulianDate, double, double, double) - Static method in class org.shredzone.commons.suncalc.util.Moon
Calculates the topocentric position of the moon.
positionTopocentric(JulianDate, double, double, double) - Static method in class org.shredzone.commons.suncalc.util.Sun
Calculates the topocentric position of the sun.

Q

QuadraticInterpolation - Class in org.shredzone.commons.suncalc.util
Calculates the roots and extremum of a quadratic equation.
QuadraticInterpolation(double, double, double) - Constructor for class org.shredzone.commons.suncalc.util.QuadraticInterpolation
Creates a new quadratic equation.

R

readjustMax(double, double, int, Function<Double, Double>) - Static method in class org.shredzone.commons.suncalc.util.ExtendedMath
Locates the true maximum within the given time frame.
readjustMin(double, double, int, Function<Double, Double>) - Static method in class org.shredzone.commons.suncalc.util.ExtendedMath
Locates the true minimum within the given time frame.
refraction(double) - Static method in class org.shredzone.commons.suncalc.util.ExtendedMath
Calculates the atmospheric refraction of an object at the given altitude.
REFRACTION_AT_HORIZON - Static variable in class org.shredzone.commons.suncalc.util.ExtendedMath
Refraction at the horizon, in radians.
rotateX(double) - Static method in class org.shredzone.commons.suncalc.util.Matrix
Creates a matrix that rotates a vector by the given angle at the X axis.
rotateY(double) - Static method in class org.shredzone.commons.suncalc.util.Matrix
Creates a matrix that rotates a vector by the given angle at the Y axis.
rotateZ(double) - Static method in class org.shredzone.commons.suncalc.util.Matrix
Creates a matrix that rotates a vector by the given angle at the Z axis.

S

sameLocationAs(LocationParameter<?>) - Method in interface org.shredzone.commons.suncalc.param.LocationParameter
Uses the same location as given in the LocationParameter at this moment.
sameLocationAs(LocationParameter<?>) - Method in class org.shredzone.commons.suncalc.util.BaseBuilder
 
sameTimeAs(TimeParameter<?>) - Method in interface org.shredzone.commons.suncalc.param.TimeParameter
Uses the same time as given in the TimeParameter.
sameTimeAs(TimeParameter<?>) - Method in class org.shredzone.commons.suncalc.util.BaseBuilder
 
subtract(Matrix) - Method in class org.shredzone.commons.suncalc.util.Matrix
Subtracts a matrix from this matrix.
subtract(Vector) - Method in class org.shredzone.commons.suncalc.util.Vector
Returns a Vector that is the difference of this Vector and the given Vector.
Sun - Class in org.shredzone.commons.suncalc.util
Calculations and constants for the Sun.
SunPosition - Class in org.shredzone.commons.suncalc
Calculates the position of the sun.
SunPosition.Parameters - Interface in org.shredzone.commons.suncalc
Collects all parameters for SunPosition.
SunTimes - Class in org.shredzone.commons.suncalc
Calculates the rise and set times of the sun.
SunTimes.Parameters - Interface in org.shredzone.commons.suncalc
Collects all parameters for SunTimes.
SunTimes.Twilight - Enum in org.shredzone.commons.suncalc
Enumeration of predefined twilights.

T

TimeParameter<T> - Interface in org.shredzone.commons.suncalc.param
Time based parameters.
timezone(String) - Method in interface org.shredzone.commons.suncalc.param.TimeParameter
Sets the given timezone.
timezone(ZoneId) - Method in interface org.shredzone.commons.suncalc.param.TimeParameter
Sets the given ZoneId.
timezone(ZoneId) - Method in class org.shredzone.commons.suncalc.util.BaseBuilder
 
timezone(TimeZone) - Method in interface org.shredzone.commons.suncalc.param.TimeParameter
Sets the TimeZone.
today() - Method in interface org.shredzone.commons.suncalc.param.TimeParameter
Sets today, midnight.
tomorrow() - Method in interface org.shredzone.commons.suncalc.param.TimeParameter
Sets tomorrow, midnight.
toPhase(double) - Static method in enum org.shredzone.commons.suncalc.MoonPhase.Phase
Converts an angle to the closest matching moon phase.
toString() - Method in class org.shredzone.commons.suncalc.MoonIllumination
 
toString() - Method in class org.shredzone.commons.suncalc.MoonPhase
 
toString() - Method in class org.shredzone.commons.suncalc.MoonPosition
 
toString() - Method in class org.shredzone.commons.suncalc.MoonTimes
 
toString() - Method in class org.shredzone.commons.suncalc.SunPosition
 
toString() - Method in class org.shredzone.commons.suncalc.SunTimes
 
toString() - Method in class org.shredzone.commons.suncalc.util.JulianDate
 
toString() - Method in class org.shredzone.commons.suncalc.util.Matrix
 
toString() - Method in class org.shredzone.commons.suncalc.util.Vector
 
transpose() - Method in class org.shredzone.commons.suncalc.util.Matrix
Transposes this matrix.
twilight(double) - Method in interface org.shredzone.commons.suncalc.SunTimes.Parameters
Sets the desired elevation angle of the sun.
twilight(SunTimes.Twilight) - Method in interface org.shredzone.commons.suncalc.SunTimes.Parameters
Sets the SunTimes.Twilight mode.

U

utc() - Method in interface org.shredzone.commons.suncalc.param.TimeParameter
Sets the time zone to UTC.

V

valueOf(String) - Static method in enum org.shredzone.commons.suncalc.MoonPhase.Phase
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.shredzone.commons.suncalc.SunTimes.Twilight
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.shredzone.commons.suncalc.MoonPhase.Phase
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.shredzone.commons.suncalc.SunTimes.Twilight
Returns an array containing the constants of this enum type, in the order they are declared.
Vector - Class in org.shredzone.commons.suncalc.util
A three dimensional vector.
Vector(double[]) - Constructor for class org.shredzone.commons.suncalc.util.Vector
Creates a new Vector of the given cartesian coordinates.
Vector(double, double, double) - Constructor for class org.shredzone.commons.suncalc.util.Vector
Creates a new Vector of the given cartesian coordinates.
VISUAL - Enum constant in enum org.shredzone.commons.suncalc.SunTimes.Twilight
The moment when the visual upper edge of the sun crosses the horizon.
VISUAL_LOWER - Enum constant in enum org.shredzone.commons.suncalc.SunTimes.Twilight
The moment when the visual lower edge of the sun crosses the horizon.

W

WANING_CRESCENT - Enum constant in enum org.shredzone.commons.suncalc.MoonPhase.Phase
Waning crescent moon.
WANING_GIBBOUS - Enum constant in enum org.shredzone.commons.suncalc.MoonPhase.Phase
Waning gibbous moon.
WAXING_CRESCENT - Enum constant in enum org.shredzone.commons.suncalc.MoonPhase.Phase
Waxing crescent moon.
WAXING_GIBBOUS - Enum constant in enum org.shredzone.commons.suncalc.MoonPhase.Phase
Waxing gibbous moon.
A B C D E F G H I J L M N O P Q R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values