Package org.orekit.time
Interface TimeShiftable<T extends TimeShiftable<T>>
-
- Type Parameters:
T
- Type of the object.
- All Known Subinterfaces:
FieldTimeShiftable<T,KK>
- All Known Implementing Classes:
AbsoluteDate
,AbsolutePVCoordinates
,AngularCoordinates
,Attitude
,CartesianOrbit
,CircularOrbit
,CPF.CPFCoordinate
,EquinoctialOrbit
,FieldAbsoluteDate
,FieldAbsolutePVCoordinates
,FieldAngularCoordinates
,FieldAttitude
,FieldCartesianOrbit
,FieldCircularOrbit
,FieldEquinoctialOrbit
,FieldKeplerianOrbit
,FieldOrbit
,FieldPVCoordinates
,FieldSpacecraftState
,FieldTransform
,KeplerianOrbit
,Orbit
,PVCoordinates
,SP3Coordinate
,SpacecraftState
,TimeStampedAngularCoordinates
,TimeStampedFieldAngularCoordinates
,TimeStampedFieldPVCoordinates
,TimeStampedPVCoordinates
,Transform
public interface TimeShiftable<T extends TimeShiftable<T>>
This interface represents objects that can be shifted in time.- Author:
- Luc Maisonobe
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description T
shiftedBy(double dt)
Get a time-shifted instance.default T
shiftedBy(TimeOffset dt)
Get a time-shifted instance.
-
-
-
Method Detail
-
shiftedBy
T shiftedBy(double dt)
Get a time-shifted instance.- Parameters:
dt
- time shift in seconds- Returns:
- a new instance, shifted with respect to instance (which is not changed)
-
shiftedBy
default T shiftedBy(TimeOffset dt)
Get a time-shifted instance.- Parameters:
dt
- time shift- Returns:
- a new instance, shifted with respect to instance (which is not changed)
- Since:
- 13.0
-
-