Index
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
- 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.
- apply(double) - Method in interface org.shredzone.commons.suncalc.util.Pegasus.Function
-
Calculate the function result for x.
- 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[]) - Method in class org.shredzone.commons.suncalc.util.BaseBuilder
- at(double, double) - Method in interface org.shredzone.commons.suncalc.param.LocationParameter
-
Sets the geolocation.
- at(double, double) - Method in class org.shredzone.commons.suncalc.util.BaseBuilder
- 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
andTimeParameter
. - 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, Pegasus.Function) - 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°).
- clone() - Method in class org.shredzone.commons.suncalc.util.BaseBuilder
- 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
- createCalendar() - Method in class org.shredzone.commons.suncalc.util.BaseBuilder
-
Creates a new
Calendar
instance containing the current instant. - cross(Vector) - Method in class org.shredzone.commons.suncalc.util.Vector
D
- DAYS - Enum constant in enum org.shredzone.commons.suncalc.param.TimeResultParameter.Unit
-
Round down to the full day.
- dot(Vector) - Method in class org.shredzone.commons.suncalc.util.Vector
E
- EARTH_MEAN_RADIUS - Static variable in class org.shredzone.commons.suncalc.util.ExtendedMath
-
Mean radius of the earth, in kilometers.
- 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 rise and set times are found, even if the moon needs more than a day for it.
- fullCycle() - Method in interface org.shredzone.commons.suncalc.SunTimes.Parameters
-
Computes until rise and set times are found, even if the sun needs more than a day for it.
G
- GenericParameter<T> - Interface in org.shredzone.commons.suncalc.param
-
Generic parameters and options.
- 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.
- getCalendar() - Method in class org.shredzone.commons.suncalc.util.JulianDate
-
Returns this
JulianDate
asCalendar
object. - getClosestPhase() - Method in class org.shredzone.commons.suncalc.MoonIllumination
-
The closest
MoonPhase.Phase
that is matching the moon's angle. - getDate() - Method in class org.shredzone.commons.suncalc.util.JulianDate
-
Returns this
JulianDate
asDate
object. - getDateTruncated(TimeResultParameter.Unit) - Method in class org.shredzone.commons.suncalc.util.JulianDate
-
Returns this
JulianDate
as truncatedDate
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.
- 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.
- getHeight() - Method in class org.shredzone.commons.suncalc.util.BaseBuilder
-
Returns the height, in meters above sea level.
- 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 within the next 24 hours.
- getNoon() - Method in class org.shredzone.commons.suncalc.SunTimes
-
The time when the sun reaches its highest point within the next 24 hours.
- 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).
- 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.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.
- getTruncatedTo() - Method in class org.shredzone.commons.suncalc.util.BaseBuilder
-
Returns the
TimeResultParameter.Unit
to truncate to. - 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
- height(double) - Method in interface org.shredzone.commons.suncalc.param.LocationParameter
-
Sets the height.
- height(double) - Method in class org.shredzone.commons.suncalc.util.BaseBuilder
- HORIZON - Enum constant in enum org.shredzone.commons.suncalc.SunTimes.Twilight
-
The moment when the center of the sun crosses the horizon (0°).
- HOURS - Enum constant in enum org.shredzone.commons.suncalc.param.TimeResultParameter.Unit
-
Round to the nearest full hour.
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 within the next 24 hours. - isAlwaysDown() - Method in class org.shredzone.commons.suncalc.SunTimes
-
true
if the sun never rises/sets, but is always below the twilight angle within the next 24 hours. - isAlwaysUp() - Method in class org.shredzone.commons.suncalc.MoonTimes
-
true
if the moon never rises/sets, but is always above the horizon within the next 24 hours. - isAlwaysUp() - Method in class org.shredzone.commons.suncalc.SunTimes
-
true
if the sun never rises/sets, but is always above the twilight angle within the next 24 hours. - 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(Calendar) - 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.
- latitude(int, int, double) - Method in class org.shredzone.commons.suncalc.util.BaseBuilder
- localTime() - Method in interface org.shredzone.commons.suncalc.param.TimeParameter
-
Sets the system's
TimeZone
. - localTime() - Method in class org.shredzone.commons.suncalc.util.BaseBuilder
- 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.
- longitude(int, int, double) - Method in class org.shredzone.commons.suncalc.util.BaseBuilder
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
- MINUTES - Enum constant in enum org.shredzone.commons.suncalc.param.TimeResultParameter.Unit
-
Round to the nearest full minute.
- 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
- 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) - Method in class org.shredzone.commons.suncalc.util.BaseBuilder
- 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(Calendar) - Method in interface org.shredzone.commons.suncalc.param.TimeParameter
-
Uses the given
Calendar
instance. - on(Calendar) - Method in class org.shredzone.commons.suncalc.util.BaseBuilder
- on(Date) - Method in interface org.shredzone.commons.suncalc.param.TimeParameter
-
Uses the given
Date
instance. - on(Date) - Method in class org.shredzone.commons.suncalc.util.BaseBuilder
- oneDay() - Method in interface org.shredzone.commons.suncalc.MoonTimes.Parameters
-
Checks only the next 24 hours.
- oneDay() - Method in interface org.shredzone.commons.suncalc.SunTimes.Parameters
-
Checks only 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
- Pegasus.Function - Interface in org.shredzone.commons.suncalc.util
-
The function that is to be solved.
- 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.
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
- refraction(double) - Static method in class org.shredzone.commons.suncalc.util.ExtendedMath
-
Calculates the atmospheric refraction of an object at the given altitude.
- 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
- SECONDS - Enum constant in enum org.shredzone.commons.suncalc.param.TimeResultParameter.Unit
-
Round to the nearest full second.
- 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
- 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.
- TimeResultParameter<T> - Interface in org.shredzone.commons.suncalc.param
-
Result time based parameters.
- TimeResultParameter.Unit - Enum in org.shredzone.commons.suncalc.param
-
Available chrono units.
- timezone(String) - Method in interface org.shredzone.commons.suncalc.param.TimeParameter
-
Sets the given
TimeZone
. - timezone(String) - Method in class org.shredzone.commons.suncalc.util.BaseBuilder
- timezone(TimeZone) - Method in interface org.shredzone.commons.suncalc.param.TimeParameter
-
Sets the given
TimeZone
. - timezone(TimeZone) - Method in class org.shredzone.commons.suncalc.util.BaseBuilder
- today() - Method in interface org.shredzone.commons.suncalc.param.TimeParameter
-
Sets today, midnight.
- today() - Method in class org.shredzone.commons.suncalc.util.BaseBuilder
- tomorrow() - Method in interface org.shredzone.commons.suncalc.param.TimeParameter
-
Sets tomorrow, midnight.
- tomorrow() - Method in class org.shredzone.commons.suncalc.util.BaseBuilder
- 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.
- truncatedTo(TimeResultParameter.Unit) - Method in interface org.shredzone.commons.suncalc.param.TimeResultParameter
-
Time unit to truncate the result to.
- truncatedTo(TimeResultParameter.Unit) - Method in class org.shredzone.commons.suncalc.util.BaseBuilder
- 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.
- utc() - Method in class org.shredzone.commons.suncalc.util.BaseBuilder
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.param.TimeResultParameter.Unit
-
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.param.TimeResultParameter.Unit
-
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.
All Classes and Interfaces|All Packages|Constant Field Values