Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- abs() - Method in class gov.nasa.jpl.time.Duration
-
Returns the absolute value of the duration.
- absoluteDifference(Time) - Method in class gov.nasa.jpl.time.Time
-
Returns a Duration that is the absolute difference between the calling object and the parameter
- add(Duration) - Method in class gov.nasa.jpl.time.Duration
-
Adds the parameter duration to the calling object.
- add(Duration) - Method in class gov.nasa.jpl.time.EpochRelativeTime
-
Adding a duration to an epoch-relative time creates another epoch-relative time with the same base but summed durations
- add(Duration) - Method in class gov.nasa.jpl.time.Time
-
Adding a time and duration returns a time
- addEpoch(String, Time) - Static method in class gov.nasa.jpl.time.EpochRelativeTime
-
Adds a new epoch name, time pair to existing epoch map
- AM - Enum constant in enum class gov.nasa.jpl.time.Time.AM_PM
C
- ceil(Duration) - Method in class gov.nasa.jpl.time.Duration
-
Rounds the duration up to an input resolution.
- ceil(Duration) - Method in class gov.nasa.jpl.time.Time
-
Rounds the time up to the input resolution, based on the reference time.
- ceil(Duration, Time) - Method in class gov.nasa.jpl.time.Time
-
Rounds the time up to the input resolution, based on the reference time.
- compareTo(Duration) - Method in class gov.nasa.jpl.time.Duration
- compareTo(Time) - Method in class gov.nasa.jpl.time.Time
- ConvertableFromString - Interface in gov.nasa.jpl.serialization
- currentSystemTime() - Static method in class gov.nasa.jpl.time.Time
-
Return the current system time as a Time object.
D
- DAY_DURATION - Static variable in class gov.nasa.jpl.time.Duration
- div(double) - Method in class gov.nasa.jpl.time.Duration
-
Syntactic sugar that calls divide(double)
- div(int) - Method in class gov.nasa.jpl.time.Duration
-
Syntactic sugar that calls divide(int)
- div(long) - Method in class gov.nasa.jpl.time.Duration
-
Syntactic sugar that calls divide(long)
- div(Duration) - Method in class gov.nasa.jpl.time.Duration
-
Syntactic sugar that calls divide(Duration)
- divide(double) - Method in class gov.nasa.jpl.time.Duration
-
Divides the duration tics by the input double value and returns a duration.
- divide(int) - Method in class gov.nasa.jpl.time.Duration
-
Divides the duration tics (floating point division) by the input int value and returns a duration.
- divide(long) - Method in class gov.nasa.jpl.time.Duration
-
Divides the duration tics (floating point division) by the input long value and returns a duration.
- divide(Duration) - Method in class gov.nasa.jpl.time.Duration
-
Divides the duration by an input duration and returns a double value.
- downleg(Time) - Static method in class gov.nasa.jpl.time.Time
-
Wraps downleg(t, sc_id, body_id), but always passes body_id = EARTH_NAIF_ID (Earth) Uses default spacecraft id.
- downleg(Time, int) - Static method in class gov.nasa.jpl.time.Time
-
Wraps downleg(t, sc_id, body_id), but always passes body_id = EARTH_NAIF_ID (Earth)
- downleg(Time, int, int) - Static method in class gov.nasa.jpl.time.Time
-
Wraps downleg(t, sc_id, body_id, time_reference) but always passes in "SCET" as time reference
- downleg(Time, int, int, String) - Method in interface gov.nasa.jpl.lighttime.LightTimeProvider
- downleg(Time, int, int, String) - Method in class gov.nasa.jpl.lighttime.SPKLightTimeProvider
-
Gets the downleg duration from a spacecraft represented by sc_id to a body represented by body_id at the specified Time t.
- Duration - Class in gov.nasa.jpl.time
-
This class is used to represent Durations of time.
- Duration() - Constructor for class gov.nasa.jpl.time.Duration
-
This is the empty Duration constructor, which will use 0 tics for the input.
- Duration(String) - Constructor for class gov.nasa.jpl.time.Duration
-
The main constructor everyone should be using - given a duration string, returns an equivalent Duration object
- DURATION_REGEX - Static variable in class gov.nasa.jpl.time.Duration
- durationPattern - Static variable in class gov.nasa.jpl.time.Duration
E
- EPOCH_RELATIVE_PATTERN - Static variable in class gov.nasa.jpl.time.EpochRelativeTime
- EPOCH_RELATIVE_TIME_REGEX - Static variable in class gov.nasa.jpl.time.EpochRelativeTime
- EpochRelativeTime - Class in gov.nasa.jpl.time
-
This class represents epoch-relative times and inherits from the Time class in the same package in order to inter-operate with it as smoothly as possible.
- EpochRelativeTime() - Constructor for class gov.nasa.jpl.time.EpochRelativeTime
-
Empty constructor, for use by programs that have to create a blank instance then call valueOf()
- EpochRelativeTime(Time, String) - Constructor for class gov.nasa.jpl.time.EpochRelativeTime
-
Constructor that takes an absolute time and an epoch string and creates an equivalent epoch-relative time relative to the input epoch-string - calculates the offset
- EpochRelativeTime(String) - Constructor for class gov.nasa.jpl.time.EpochRelativeTime
-
Most likely standard constructor that takes a single string and mutates the called object to represent it.
- EpochRelativeTime(String, Duration) - Constructor for class gov.nasa.jpl.time.EpochRelativeTime
-
Constructor that takes an epoch string name and a Duration object
- equals(Object) - Method in class gov.nasa.jpl.time.Duration
- equals(Object) - Method in class gov.nasa.jpl.time.Time
- equalToWithin(Duration, Duration) - Method in class gov.nasa.jpl.time.Duration
-
Compares the duration to another duration object and returns true if d2 is within an input resolution of d1.
- equalToWithin(Time, Duration) - Method in class gov.nasa.jpl.time.Time
-
Compares the time to another time object and returns true if t2 is within an input resolution of t1.
- ERT2ETT(Time) - Static method in class gov.nasa.jpl.time.Time
-
Returns the input earth receive time - the downleg time from the spacecraft - the upleg time to the spacecraft when the signal was sent.
- ERT2ETT(Time, int) - Static method in class gov.nasa.jpl.time.Time
-
Returns the input earth receive time - the downleg time from the spacecraft - the upleg time to the spacecraft when the signal was sent.
- ERT2SCET(Time) - Static method in class gov.nasa.jpl.time.Time
-
Returns the input spacecraft event time - upleg time to the spacecraft.
- ERT2SCET(Time, int) - Static method in class gov.nasa.jpl.time.Time
-
Returns the input spacecraft event time - upleg time to the spacecraft.
- ETT2ERT(Time) - Static method in class gov.nasa.jpl.time.Time
-
Returns the input earth transmit time + the upleg time to the spacecraft + the downleg time from the spacecraft when the signal arrives at the spacecraft.
- ETT2ERT(Time, int) - Static method in class gov.nasa.jpl.time.Time
-
Returns the input earth transmit time + the upleg time to the spacecraft + the downleg time from the spacecraft when the signal arrives at the spacecraft.
- ETT2SCET(Time) - Static method in class gov.nasa.jpl.time.Time
-
Returns the input earth transmit time + the upleg time to the spacecraft.
- ETT2SCET(Time, int) - Static method in class gov.nasa.jpl.time.Time
-
Returns the input earth transmit time + the upleg time to the spacecraft.
F
- floor(Duration) - Method in class gov.nasa.jpl.time.Duration
-
Rounds the duration down to an input resolution.
- floor(Duration) - Method in class gov.nasa.jpl.time.Time
-
Rounds the time down to the input resolution, based on the reference time.
- floor(Duration, Time) - Method in class gov.nasa.jpl.time.Time
-
Rounds the time down to the input resolution, based on the reference time.
- format(String) - Method in class gov.nasa.jpl.time.Duration
-
Returns string that is the underlying duration formatted according to the format string The format string is defined by the apache commons DurationFormatUtils specification It only returns down to millisecond accuracy, so it cannot be used for fine precision
- fromDays(double) - Static method in class gov.nasa.jpl.time.Duration
-
Takes in a number of days as a double and returns a corresponding duration.
- fromDays(long) - Static method in class gov.nasa.jpl.time.Duration
-
Takes in a number of days as a long and returns a corresponding duration.
- fromET(double) - Static method in class gov.nasa.jpl.time.Time
-
Creates a Time object from Spice ET seconds
- fromExcelUTC(String) - Static method in class gov.nasa.jpl.time.Time
-
Turns excel-formatted UTC datetime string into Time object.
- fromGPS(String) - Static method in class gov.nasa.jpl.time.Time
- fromGPSSeconds(double) - Static method in class gov.nasa.jpl.time.Time
- fromHours(double) - Static method in class gov.nasa.jpl.time.Duration
-
Takes in a number of hours as a double and returns a corresponding duration.
- fromHours(long) - Static method in class gov.nasa.jpl.time.Duration
-
Takes in a number of hours as a long and returns a corresponding duration.
- fromLMST(String) - Static method in class gov.nasa.jpl.time.Time
-
Returns a Time object equivalent to the input LMST string.
- fromLMST(String, int) - Static method in class gov.nasa.jpl.time.Time
-
Returns a Time object equivalent to the input LMST string
- fromMarsDur(String) - Static method in class gov.nasa.jpl.time.Duration
-
Takes in a Mars duration string of the form ddddMhh:mm:ss.fff or Mhh:mm:ss.fff where dddd is the sol number, hh is the hour, mm is the minutes, and ss.fff is the seconds.
- fromMatcher(Matcher) - Static method in class gov.nasa.jpl.time.Duration
-
Takes a Matcher object and returns a Duration object.
- fromMilliseconds(double) - Static method in class gov.nasa.jpl.time.Duration
-
Takes in a number of milliseconds as a double and returns a corresponding duration.
- fromMilliseconds(long) - Static method in class gov.nasa.jpl.time.Duration
-
Takes in a number of milliseconds as a long and returns a corresponding duration.
- fromMinutes(double) - Static method in class gov.nasa.jpl.time.Duration
-
Takes in a number of minutes as a double and returns a corresponding duration.
- fromMinutes(long) - Static method in class gov.nasa.jpl.time.Duration
-
Takes in a number of minutes as a long and returns a corresponding duration.
- fromSCLK(String) - Static method in class gov.nasa.jpl.time.Time
-
Returns a Time object that is equivalent to a given SCLK string.
- fromSCLK(String, int) - Static method in class gov.nasa.jpl.time.Time
-
Returns a Time object that is equivalent to a given SCLK string
- fromSCLKD(double) - Static method in class gov.nasa.jpl.time.Time
-
Creates a time object given a SCLK decimal.
- fromSCLKD(double, int) - Static method in class gov.nasa.jpl.time.Time
-
Creates a time object given a SCLK decimal and a SC NAIF id
- fromSeconds(double) - Static method in class gov.nasa.jpl.time.Duration
-
Takes in a number of seconds as a double and returns a corresponding duration.
- fromSeconds(long) - Static method in class gov.nasa.jpl.time.Duration
-
Takes in a number of seconds as a long and returns a corresponding duration.
- fromTAI(double) - Static method in class gov.nasa.jpl.time.Time
-
Creates a Time object from Spice TAI seconds
- fromTDBString(String) - Static method in class gov.nasa.jpl.time.Time
-
Creates a time object from a time in the TDB (Spice ET) system formatted in ISOC
- fromTics(long) - Static method in class gov.nasa.jpl.time.Duration
-
Takes in a number of tics as a long and returns a corresponding duration.
- fromTics(long) - Static method in class gov.nasa.jpl.time.Time
-
Creates a time object given the number of tics (NOT seconds).
- fromTimezone(ZonedDateTime) - Static method in class gov.nasa.jpl.time.Time
-
Returns a new Time object given a Java ZonedDateTime - converts to UTC, then feeds that String to standard Time constructor
- fromTimezoneString(String, String) - Static method in class gov.nasa.jpl.time.Time
-
Returns a new Time object given a local Time and the timezone that Time is in - converts to UTC, then feeds that String to standard Time constructor
G
- getAbsoluteOrRelativeTime(String) - Static method in class gov.nasa.jpl.time.EpochRelativeTime
-
Returns an absolute time if the string can be interpreted as one, or an epoch-relative time if it cannot
- getDays() - Method in class gov.nasa.jpl.time.Duration
- getDefaultLstBodyFrame() - Static method in class gov.nasa.jpl.time.Time
-
Returns the default LST body frame and checks that it is not null.
- getDefaultLstBodyId() - Static method in class gov.nasa.jpl.time.Time
-
Returns the current default spacecraft id and checks to make sure that it is not null.
- getDefaultOutputPrecision() - Static method in class gov.nasa.jpl.time.Duration
-
Returns the current default output decimal precision.
- getDefaultOutputPrecision() - Static method in class gov.nasa.jpl.time.Time
-
Returns the current default output decimal precision.
- getDefaultReferenceTime() - Static method in class gov.nasa.jpl.time.Time
- getDefaultSpacecraftId() - Static method in class gov.nasa.jpl.time.Time
-
Returns the current default spacecraft id and checks to make sure that it is not null.
- getEpochs() - Static method in class gov.nasa.jpl.time.EpochRelativeTime
-
Returns the map of epochs to times.
- getGPSEpoch() - Static method in class gov.nasa.jpl.time.Time
- getHours() - Method in class gov.nasa.jpl.time.Duration
- getMicroseconds() - Method in class gov.nasa.jpl.time.Duration
- getMidnightUTC() - Method in class gov.nasa.jpl.time.Time
- getMilliseconds() - Method in class gov.nasa.jpl.time.Duration
- getMilliseconds() - Method in class gov.nasa.jpl.time.Time
-
For XMLTOL use only - in UTC seconds since 1970 since that is the spec
- getMinutes() - Method in class gov.nasa.jpl.time.Duration
- getSeconds() - Method in class gov.nasa.jpl.time.Duration
- getTics() - Method in class gov.nasa.jpl.time.Duration
- getTics() - Method in class gov.nasa.jpl.time.Time
- getTimeOfDay() - Method in class gov.nasa.jpl.time.Time
- getUnixEpoch() - Static method in class gov.nasa.jpl.time.Time
- gov.nasa.jpl.lighttime - package gov.nasa.jpl.lighttime
- gov.nasa.jpl.serialization - package gov.nasa.jpl.serialization
- gov.nasa.jpl.time - package gov.nasa.jpl.time
- greaterThan(Duration) - Method in class gov.nasa.jpl.time.Duration
-
Returns true if the calling object is greater than (closer to positive infinity) the parameter, false otherwise
- greaterThan(Time) - Method in class gov.nasa.jpl.time.Time
-
Returns true if the parameter is after the calling object in time
- greaterThanOrEqualTo(Duration) - Method in class gov.nasa.jpl.time.Duration
-
Returns true if the calling object is greater than or equal to the parameter, false otherwise
- greaterThanOrEqualTo(Time) - Method in class gov.nasa.jpl.time.Time
-
Returns true if the parameter is after the calling object in time or if they represent the same time
H
- hashCode() - Method in class gov.nasa.jpl.time.Duration
- hashCode() - Method in class gov.nasa.jpl.time.Time
- HOUR_DURATION - Static variable in class gov.nasa.jpl.time.Duration
I
- isEpochDefined(String) - Static method in class gov.nasa.jpl.time.EpochRelativeTime
-
Wraps .containsKey() for epoch map
L
- lessThan(Duration) - Method in class gov.nasa.jpl.time.Duration
-
Returns true if the calling object is less than (closer to negative infinity) the parameter, false otherwise
- lessThan(Time) - Method in class gov.nasa.jpl.time.Time
-
Returns true if the parameter is before the calling object in time
- lessThanOrEqualTo(Duration) - Method in class gov.nasa.jpl.time.Duration
-
Returns true if the calling object is less than or equal to the parameter, false otherwise
- lessThanOrEqualTo(Time) - Method in class gov.nasa.jpl.time.Time
-
Returns true if the parameter is before the calling object in time or if they represent the same time
- LightTimeProvider - Interface in gov.nasa.jpl.lighttime
-
This interface provides a downleg and upleg duration given a time, the two objects, and which frame the duration should be expressed in.
- LMST_SPICE_REGEX - Static variable in class gov.nasa.jpl.time.Time
- LMST_SPICE_REGEX_PATTERN - Static variable in class gov.nasa.jpl.time.Time
- LMST_STANDARD_REGEX - Static variable in class gov.nasa.jpl.time.Time
- LMST_STANDARD_REGEX_PATTERN - Static variable in class gov.nasa.jpl.time.Time
M
- MARS_DUR_PATTERN - Static variable in class gov.nasa.jpl.time.Duration
- MARS_DUR_REGEX - Static variable in class gov.nasa.jpl.time.Duration
- MARS_DURATION_LESS_THAN_ONE_SOL_REGEX - Static variable in class gov.nasa.jpl.time.Duration
- MARS_TIME_SCALE - Static variable in class gov.nasa.jpl.time.Duration
- max(Duration...) - Static method in class gov.nasa.jpl.time.Duration
-
Returns the largest of a list of Durations.
- max(Time...) - Static method in class gov.nasa.jpl.time.Time
-
Returns the latest of a list of times.
- MAX_TIME - Static variable in class gov.nasa.jpl.time.Time
- MICROSECOND_DURATION - Static variable in class gov.nasa.jpl.time.Duration
- min(Duration...) - Static method in class gov.nasa.jpl.time.Duration
-
Returns the smallest of a list of Durations.
- min(Time...) - Static method in class gov.nasa.jpl.time.Time
-
Returns the earliest of a list of times.
- minus(Duration) - Method in class gov.nasa.jpl.time.Duration
-
Syntactic sugar that calls subtract()
- minus(Duration) - Method in class gov.nasa.jpl.time.EpochRelativeTime
-
Wraps subtract()
- minus(Duration) - Method in class gov.nasa.jpl.time.Time
-
Syntactic sugar for subtract(Duration)
- minus(Time) - Method in class gov.nasa.jpl.time.Time
-
Syntactic sugar for subtract(Time)
- MINUTE_DURATION - Static variable in class gov.nasa.jpl.time.Duration
- mod(Duration) - Method in class gov.nasa.jpl.time.Duration
-
Modulus operator, also known as remainder.
- multiply(double) - Method in class gov.nasa.jpl.time.Duration
-
Multiplies the duration by the input double value.
- multiply(int) - Method in class gov.nasa.jpl.time.Duration
-
Multiplies the duration by the input int value.
- multiply(long) - Method in class gov.nasa.jpl.time.Duration
-
Multiplies the duration by the input long value.
O
- ONE_DAY - Static variable in class gov.nasa.jpl.time.Duration
- ONE_HOUR - Static variable in class gov.nasa.jpl.time.Duration
- ONE_MICROSECOND - Static variable in class gov.nasa.jpl.time.Duration
- ONE_MILLISECOND - Static variable in class gov.nasa.jpl.time.Duration
- ONE_MINUTE - Static variable in class gov.nasa.jpl.time.Duration
- ONE_SECOND - Static variable in class gov.nasa.jpl.time.Duration
P
- plus(Duration) - Method in class gov.nasa.jpl.time.Duration
-
Syntactic sugar that calls add()
- plus(Duration) - Method in class gov.nasa.jpl.time.EpochRelativeTime
-
Wraps add()
- plus(Duration) - Method in class gov.nasa.jpl.time.Time
-
Syntactic sugar for add()
- plus(Time) - Method in class gov.nasa.jpl.time.Duration
-
Allows you to do t2 = d.plus(t1), which could be useful for operator overloading
- PM - Enum constant in enum class gov.nasa.jpl.time.Time.AM_PM
R
- readEpochCVF(String) - Static method in class gov.nasa.jpl.time.EpochRelativeTime
-
Reads all epochs defined in CVF and adds them to epoch map
- removeEpoch(String) - Static method in class gov.nasa.jpl.time.EpochRelativeTime
-
Removes epoch from map of times that new EpochRelativeTimes can look up string names in
- round(Duration) - Method in class gov.nasa.jpl.time.Duration
-
Rounds the duration to an input resolution.
- round(Duration) - Method in class gov.nasa.jpl.time.Time
-
Rounds the time to the input resolution, based on the reference time.
- round(Duration, Time) - Method in class gov.nasa.jpl.time.Time
-
Rounds the time to the input resolution, based on the reference time.
- rtlt(Time, int, int, boolean, String) - Method in class gov.nasa.jpl.time.Time
-
Returns the RTLT as a duration object.
S
- SCET2ERT(Time) - Static method in class gov.nasa.jpl.time.Time
-
Returns the input spacecraft event time + the downleg time from the spacecraft.
- SCET2ERT(Time, int) - Static method in class gov.nasa.jpl.time.Time
-
Returns the input spacecraft event time + the downleg time from the spacecraft.
- SCET2ETT(Time) - Static method in class gov.nasa.jpl.time.Time
-
Returns the input spacecraft time - the upleg time to the spacecraft.
- SCET2ETT(Time, int) - Static method in class gov.nasa.jpl.time.Time
-
Returns the input spacecraft time - the upleg time to the spacecraft.
- SCLK_PATTERN - Static variable in class gov.nasa.jpl.time.Time
- SCLK_REGEX - Static variable in class gov.nasa.jpl.time.Time
- SCLKD_PATTERN - Static variable in class gov.nasa.jpl.time.Time
- SCLKD_REGEX - Static variable in class gov.nasa.jpl.time.Time
- SECOND_DURATION - Static variable in class gov.nasa.jpl.time.Duration
- setDefaultLstBodyFrame(String) - Static method in class gov.nasa.jpl.time.Time
-
Sets the default LST body frame, which is tied to the naif body id.
- setDefaultLstBodyId(Integer) - Static method in class gov.nasa.jpl.time.Time
-
Updates the default body id for LST methods.
- setDefaultOutputPrecision(int) - Static method in class gov.nasa.jpl.time.Duration
-
Sets the default output decimal precision.
- setDefaultOutputPrecision(int) - Static method in class gov.nasa.jpl.time.Time
-
Sets the default output decimal precision.
- setDefaultSpacecraftId(Integer) - Static method in class gov.nasa.jpl.time.Time
-
Updates the default spacecraft id for convenience methods.
- setEpochs(Map<String, Time>) - Static method in class gov.nasa.jpl.time.EpochRelativeTime
-
Sets a new epochs map for all new EpochRelativeTimes (does not change already existing ones)
- setLightTimeProvider(LightTimeProvider) - Static method in class gov.nasa.jpl.time.Time
-
Call this before trying time frame conversions if you don't want to use SPICE for lighttime
- setUseSpiceForMath(boolean) - Static method in class gov.nasa.jpl.time.Time
-
call this before you start making Time objects if you want Java datetime to do the conversion to and from strings instead of SPICE
- SOLS_IN_DURATION_REGEX - Static variable in class gov.nasa.jpl.time.Duration
- SPKLightTimeProvider - Class in gov.nasa.jpl.lighttime
- SPKLightTimeProvider() - Constructor for class gov.nasa.jpl.lighttime.SPKLightTimeProvider
- subtract(Duration) - Method in class gov.nasa.jpl.time.Duration
-
Subtracts the parameter duration from the calling object
- subtract(Duration) - Method in class gov.nasa.jpl.time.EpochRelativeTime
-
Subtracting a duration from an epoch-relative time creates another epoch-relative time with the same base but subtracted durations
- subtract(Duration) - Method in class gov.nasa.jpl.time.Time
-
Subtracting a duration from a Time returns another Time
- subtract(Time) - Method in class gov.nasa.jpl.time.Time
-
Subtracting two times returns a duration
T
- tics - Variable in class gov.nasa.jpl.time.Time
- TICS_PER_SECOND_DOUBLE - Static variable in class gov.nasa.jpl.time.Duration
- TICS_PER_SECOND_LONG - Static variable in class gov.nasa.jpl.time.Duration
- Time - Class in gov.nasa.jpl.time
-
This class is a SPICE-backed object-oriented way to represent Time in Java.
- Time() - Constructor for class gov.nasa.jpl.time.Time
-
This is the empty time constructor, which will use 0 tics for the time input.
- Time(long) - Constructor for class gov.nasa.jpl.time.Time
-
This protected constructor is used by the fromX and valueOf methods to actually assign the backing data.
- Time(Time) - Constructor for class gov.nasa.jpl.time.Time
-
Copy constructor, also used for EpochRelativeTime
- Time(String) - Constructor for class gov.nasa.jpl.time.Time
-
The main Time constructor, that wraps str2et in SPICE if it is enabled, or a Java DateTime if it is not.
- TIME_PATTERN - Static variable in class gov.nasa.jpl.time.Time
- TIME_REGEX - Static variable in class gov.nasa.jpl.time.Time
- Time.AM_PM - Enum Class in gov.nasa.jpl.time
- toCalendar() - Method in class gov.nasa.jpl.time.Time
-
Outputs a string representing a time with the default number of decimal precision
- toCalendar(int) - Method in class gov.nasa.jpl.time.Time
-
Outputs a string representing a time with the given number of decimal precision
- toET() - Method in class gov.nasa.jpl.time.Time
-
Converts the calling Time object to Spice ephemeris time
- toExcelUTC() - Method in class gov.nasa.jpl.time.Time
- toExcelUTC(boolean) - Method in class gov.nasa.jpl.time.Time
- toFractionalSols() - Method in class gov.nasa.jpl.time.Time
-
The calling object Time expressed as a sol-fraction since the LMST epoch.
- toFractionalSols(int) - Method in class gov.nasa.jpl.time.Time
-
The calling object Time expressed as a sol-fraction since the LMST epoch.
- toGPS(int) - Method in class gov.nasa.jpl.time.Time
- toGPSSeconds() - Method in class gov.nasa.jpl.time.Time
- toInt() - Method in enum class gov.nasa.jpl.time.Time.AM_PM
- toISOC() - Method in class gov.nasa.jpl.time.Time
-
Outputs a string representing a time with the default number of decimal precision
- toISOC(int) - Method in class gov.nasa.jpl.time.Time
-
Outputs a string representing a time with the given number of decimal precision
- toJulian() - Method in class gov.nasa.jpl.time.Time
-
Outputs a string representing a time with the default number of decimal precision
- toJulian(int) - Method in class gov.nasa.jpl.time.Time
-
Outputs a string representing a time with the given number of decimal precision
- toLMST() - Method in class gov.nasa.jpl.time.Time
-
Wraps toLMST but uses default spacecraft id and precision
- toLMST(int) - Method in class gov.nasa.jpl.time.Time
-
Wraps toLMST but uses default spacecraft id.
- toLMST(int, int) - Method in class gov.nasa.jpl.time.Time
-
Outputs a string that represents this instant in Local Mean Solar Time (LMST) for the SC specified
- toLmstAmPm() - Method in class gov.nasa.jpl.time.Time
-
Returns whether or not the LMST time is before noon as an AM_PM enum object.
- toLmstAmPm(int) - Method in class gov.nasa.jpl.time.Time
-
Returns whether or not the LMST time is before noon as an AM_PM enum object.
- toLST() - Method in class gov.nasa.jpl.time.Time
-
Wraps toLST but uses default spacecraft id, body id and frame.
- toLST(int) - Method in class gov.nasa.jpl.time.Time
-
Wraps toLST but uses default body id and frame.
- toLST(int, int, String) - Method in class gov.nasa.jpl.time.Time
-
Gets the local solar time at a SC's location given that body ID and body frame.
- toLTST() - Method in class gov.nasa.jpl.time.Time
-
Wraps toLTST but uses default spacecraft id, body id and body frame.
- toLTST(int) - Method in class gov.nasa.jpl.time.Time
-
Wraps toLTST but uses default body id and frame.
- toLTST(int, int, String) - Method in class gov.nasa.jpl.time.Time
-
Calculates the LMST-assisted Local True Solar Time (LTST) value for the calling Time object.
- toMarsDurString() - Method in class gov.nasa.jpl.time.Duration
-
Returns a string representing the duration as a mars duration, using the default decimal precision.
- toMarsDurString(int) - Method in class gov.nasa.jpl.time.Duration
-
Returns a string representing the duration as a mars duration.
- toSCLK() - Method in class gov.nasa.jpl.time.Time
-
Outputs the SCLK string that is equivalent to the calling object.
- toSCLK(int) - Method in class gov.nasa.jpl.time.Time
-
Outputs the SCLK string that is equivalent to the calling object.
- toSCLKD() - Method in class gov.nasa.jpl.time.Time
-
Outputs the SCLK decimal that is equivalent to the calling object.
- toSCLKD(int) - Method in class gov.nasa.jpl.time.Time
-
Outputs the SCLK decimal that is equivalent to the calling object.
- toSolNumber() - Method in class gov.nasa.jpl.time.Time
-
The integer sol number at the calling object Time.
- toSolNumber(int) - Method in class gov.nasa.jpl.time.Time
-
The integer sol number at the calling object Time.
- toString() - Method in class gov.nasa.jpl.time.Duration
-
Calls toString() with default precision
- toString() - Method in class gov.nasa.jpl.time.EpochRelativeTime
-
Overrides Time's toString and calls more detailed toString(int) with Duration's default output precision
- toString() - Method in enum class gov.nasa.jpl.time.Time.AM_PM
- toString() - Method in class gov.nasa.jpl.time.Time
-
Overrides the default toString() method so you get a default representation of the object.
- toString(int) - Method in class gov.nasa.jpl.time.Duration
-
Returns string representation to number of decimal places specified
- toString(int) - Method in class gov.nasa.jpl.time.EpochRelativeTime
-
Instead of writing out some conversion of the tic value like for absolute time, writes out epoch base and offset in a way that can be read back in as relative later
- toTAI() - Method in class gov.nasa.jpl.time.Time
-
Outputs a double representing the time in SPICE TAI
- totalSeconds() - Method in class gov.nasa.jpl.time.Duration
-
this one is special because it is a float
- toTimezone(String) - Method in class gov.nasa.jpl.time.Time
-
Returns a ZonedDateTime that is equivalent to the calling Time object.
- toTimezoneString(String) - Method in class gov.nasa.jpl.time.Time
-
Wraps toTimezoneString but uses default precision.
- toTimezoneString(String, int) - Method in class gov.nasa.jpl.time.Time
-
Returns a string representing the calling object instant moved to a different timezone
- toUTC() - Method in class gov.nasa.jpl.time.Time
-
Returns a utc string with the default precision.
- toUTC(int) - Method in class gov.nasa.jpl.time.Time
-
Outputs a string representing a time with the given number of decimal precision
- toUtcAmPm() - Method in class gov.nasa.jpl.time.Time
-
Returns whether or not the UTC time is before noon as an AM_PM enum object.
U
- upleg(Time) - Static method in class gov.nasa.jpl.time.Time
-
Wraps upleg(t, sc_id, body_id), but always passes body_id = EARTH_NAIF_ID (Earth) Uses default spacecraft id
- upleg(Time, int) - Static method in class gov.nasa.jpl.time.Time
-
Wraps upleg(t, sc_id, body_id), but always passes body_id = EARTH_NAIF_ID (Earth)
- upleg(Time, int, int) - Static method in class gov.nasa.jpl.time.Time
-
Wraps upleg(t, sc_id, body_id, time_reference) but always passes in "SCET" as time reference
- upleg(Time, int, int, String) - Method in interface gov.nasa.jpl.lighttime.LightTimeProvider
- upleg(Time, int, int, String) - Method in class gov.nasa.jpl.lighttime.SPKLightTimeProvider
-
Gets the upleg duration to a spacecraft represented by sc_id from a body represented by body_id at the specified Time t.
V
- valueOf(String) - Method in interface gov.nasa.jpl.serialization.ConvertableFromString
- valueOf(String) - Method in class gov.nasa.jpl.time.Duration
-
Given a Duration string, mutates the calling object to represent that duration Implements the convertableFromString interface so engines can call valueOf on whatever object including Durations.
- valueOf(String) - Method in class gov.nasa.jpl.time.EpochRelativeTime
-
Mutates the called object such that its tic count, epoch base, and offset are correct according to the input String Epoch name must already be defined before this method is called.
- valueOf(String) - Static method in enum class gov.nasa.jpl.time.Time.AM_PM
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Method in class gov.nasa.jpl.time.Time
-
Given a UTC time format (anything allowed by str2et), mutates the calling object to represent that time Implements the convertableFromString interface so engines can call valueOf on whatever object including Times.
- values() - Static method in enum class gov.nasa.jpl.time.Time.AM_PM
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- writeEpochCVF(String) - Static method in class gov.nasa.jpl.time.EpochRelativeTime
-
Writes out all epochs defined in memory to file with default header in time order
- writeEpochCVF(String, Collection<String>) - Static method in class gov.nasa.jpl.time.EpochRelativeTime
-
Writes out epochs included in epochNamesToWriteOut to epochFileName with default header in time order
- writeEpochCVF(String, Collection<String>, String) - Static method in class gov.nasa.jpl.time.EpochRelativeTime
-
Writes out epochs included in epochNamesToWriteOut to epochFileName with header provided in time order
- writeEpochCVF(String, Collection<String>, String, boolean) - Static method in class gov.nasa.jpl.time.EpochRelativeTime
-
Writes out epochs included in epochNamesToWriteOut to epochFileName with header provided sorted in time order if sortByTime is true, or alphanumeric by name if sortByTime is false
Z
- ZERO_DURATION - Static variable in class gov.nasa.jpl.time.Duration
All Classes and Interfaces|All Packages|Constant Field Values