public final class TimeConverter
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
DURATION_TIMESTAMP_ONE_YEAR |
Constructor and Description |
---|
TimeConverter(double startTimeToDayFactor,
double dActTimeToSecondFactor,
double startTime,
double sampleRate) |
Modifier and Type | Method and Description |
---|---|
java.time.LocalDateTime |
getStartDateTime() |
double |
getStartOleAutomatonTime() |
long |
getStartTimeOleMinutes() |
java.time.Duration |
getTimeStep() |
long |
getTimeStepMinutes() |
java.time.LocalDateTime |
offsetToDateTime(int offset) |
double |
offsetToOleAutomatonTime(int offset) |
java.lang.String |
toString() |
public static final int DURATION_TIMESTAMP_ONE_YEAR
public TimeConverter(double startTimeToDayFactor, double dActTimeToSecondFactor, double startTime, double sampleRate)
public double offsetToOleAutomatonTime(int offset)
public java.time.LocalDateTime offsetToDateTime(int offset)
public double getStartOleAutomatonTime()
public java.time.LocalDateTime getStartDateTime()
public long getStartTimeOleMinutes()
public java.time.Duration getTimeStep()
public long getTimeStepMinutes()
public java.lang.String toString()
toString
in class java.lang.Object