Uses of Class
com.metsci.glimpse.util.units.time.TimeStamp
-
Packages that use TimeStamp Package Description com.metsci.glimpse.core.axis.painter Painters which display the state of an axis with tick marks, labels, color scales, and other decorations.com.metsci.glimpse.core.axis.painter.label.time com.metsci.glimpse.core.painter.info Painters which draw informational overlays.com.metsci.glimpse.core.painter.shape Painters which draw basic geometric shapes: line segments, points, and polygons.com.metsci.glimpse.core.painter.track Track visualization painters.com.metsci.glimpse.core.plot.timeline com.metsci.glimpse.core.plot.timeline.data com.metsci.glimpse.core.plot.timeline.event com.metsci.glimpse.core.plot.timeline.event.listener com.metsci.glimpse.core.support.interval com.metsci.glimpse.util.units.time -
-
Uses of TimeStamp in com.metsci.glimpse.core.axis.painter
Methods in com.metsci.glimpse.core.axis.painter that return TimeStamp Modifier and Type Method Description TimeStamp
TimeAxisPainter. toTimeStamp(double time)
Methods in com.metsci.glimpse.core.axis.painter with parameters of type TimeStamp Modifier and Type Method Description double
TimeAxisPainter. fromTimeStamp(TimeStamp time)
-
Uses of TimeStamp in com.metsci.glimpse.core.axis.painter.label.time
Fields in com.metsci.glimpse.core.axis.painter.label.time declared as TimeStamp Modifier and Type Field Description TimeStamp
TimeStruct. end
TimeStamp
TimeStruct. start
TimeStamp
TimeStruct. textCenter
TimeStamp
TimeStruct. viewEnd
TimeStamp
TimeStruct. viewStart
Methods in com.metsci.glimpse.core.axis.painter.label.time that return TimeStamp Modifier and Type Method Description TimeStamp
RelativeTimeAxisLabelHandler. getReferenceTime()
TimeStamp
AbsoluteTimeAxisLabelHandler. toTimeStamp(double time)
TimeStamp
RelativeTimeAxisLabelHandler. toTimeStamp(double time)
Methods in com.metsci.glimpse.core.axis.painter.label.time that return types with arguments of type TimeStamp Modifier and Type Method Description List<TimeStamp>
AbsoluteTimeAxisLabelHandler. getTickPositions(Axis1D axis, double axisLengthPixels)
List<TimeStamp>
RelativeTimeAxisLabelHandler. getTickPositions(Axis1D axis, double axisLengthPixels)
List<TimeStamp>
TimeAxisLabelHandler. getTickPositions(Axis1D axis, double axisLengthPixels)
Methods in com.metsci.glimpse.core.axis.painter.label.time with parameters of type TimeStamp Modifier and Type Method Description double
AbsoluteTimeAxisLabelHandler. fromTimeStamp(TimeStamp time)
double
RelativeTimeAxisLabelHandler. fromTimeStamp(TimeStamp time)
void
AbsoluteTimeAxisLabelHandler.DayStruct. setCalendar(TimeStamp time, Calendar calendar)
void
AbsoluteTimeAxisLabelHandler.HourStruct. setCalendar(TimeStamp time, Calendar calendar)
void
AbsoluteTimeAxisLabelHandler.MonthStruct. setCalendar(TimeStamp time, Calendar calendar)
void
AbsoluteTimeAxisLabelHandler.YearStruct. setCalendar(TimeStamp time, Calendar calendar)
abstract void
TimeStruct. setCalendar(TimeStamp time, Calendar cal)
void
RelativeTimeAxisLabelHandler. setReferenceTime(TimeStamp referenceTime)
Method parameters in com.metsci.glimpse.core.axis.painter.label.time with type arguments of type TimeStamp Modifier and Type Method Description double
AbsoluteTimeAxisLabelHandler. getTickInterval(List<TimeStamp> list)
double
RelativeTimeAxisLabelHandler. getTickInterval(List<TimeStamp> list)
double
TimeAxisLabelHandler. getTickInterval(List<TimeStamp> tickTimes)
List<String>
AbsoluteTimeAxisLabelHandler. getTickLabels(Axis1D axis, List<TimeStamp> tickPositions)
List<String>
RelativeTimeAxisLabelHandler. getTickLabels(Axis1D axis, List<TimeStamp> tickPositions)
List<String>
TimeAxisLabelHandler. getTickLabels(Axis1D axis, List<TimeStamp> tickPositions)
List<TimeStruct>
AbsoluteTimeAxisLabelHandler. getTimeStructs(Axis1D axis, List<TimeStamp> tickTimes)
List<TimeStruct>
RelativeTimeAxisLabelHandler. getTimeStructs(Axis1D axis, List<TimeStamp> tickTimes)
List<TimeStruct>
TimeAxisLabelHandler. getTimeStructs(Axis1D axis, List<TimeStamp> tickTimes)
Constructors in com.metsci.glimpse.core.axis.painter.label.time with parameters of type TimeStamp Constructor Description RelativeTimeAxisLabelHandler(TimeStamp referenceTime)
RelativeTimeAxisLabelHandler(TimeStamp referenceTime, boolean isFuturePositive)
-
Uses of TimeStamp in com.metsci.glimpse.core.painter.info
Methods in com.metsci.glimpse.core.painter.info that return TimeStamp Modifier and Type Method Description TimeStamp
AnnotationPainter.Annotation. getEndTimeStamp()
TimeStamp
AnnotationPainter.Annotation. getStartTimeStamp()
Methods in com.metsci.glimpse.core.painter.info with parameters of type TimeStamp Modifier and Type Method Description void
AnnotationPainter. displayTime(TimeStamp time)
void
AnnotationPainter. displayTimeRange(TimeStamp minTime, TimeStamp maxTime)
void
AnnotationPainter.Annotation. setEndTime(TimeStamp endTime)
void
AnnotationPainter.Annotation. setStartTime(TimeStamp startTime)
-
Uses of TimeStamp in com.metsci.glimpse.core.painter.shape
Methods in com.metsci.glimpse.core.painter.shape with parameters of type TimeStamp Modifier and Type Method Description void
TimeShadedPointPainter. displayTimeRange(Epoch epoch, TimeStamp startTime, TimeStamp endTime)
Sets the selected range of times which will be displayed by this painter. -
Uses of TimeStamp in com.metsci.glimpse.core.painter.track
Methods in com.metsci.glimpse.core.painter.track with parameters of type TimeStamp Modifier and Type Method Description void
StaticTrackPainter. displayTimeRange(TimeStamp startTime, TimeStamp endTime)
Constructors in com.metsci.glimpse.core.painter.track with parameters of type TimeStamp Constructor Description StaticTrackPainter(TimeStamp[] time, float[][] xPositions, float[][] yPositions)
StaticTrackPainter(TimeStamp[] time, float[][] xPositions, float[][] yPositions, float[][][] colors)
-
Uses of TimeStamp in com.metsci.glimpse.core.plot.timeline
Methods in com.metsci.glimpse.core.plot.timeline that return TimeStamp Modifier and Type Method Description TimeStamp
StackedTimePlot2D. getTime(GlimpseMouseEvent e)
TimeStamp
StackedTimePlot2D. getTimeSelection()
Get the currently selected time (usually equal to getTimeSelectionMax()).TimeStamp
StackedTimePlot2D. getTimeSelectionMax()
Get the TimeStamp of latest endpoint of the selected time region.TimeStamp
StackedTimePlot2D. getTimeSelectionMin()
Get the TimeStamp of earliest endpoint of the selected time region.TimeStamp
StackedTimePlot2D. toTimeStamp(double value)
Methods in com.metsci.glimpse.core.plot.timeline with parameters of type TimeStamp Modifier and Type Method Description double
StackedTimePlot2D. fromTimeStamp(TimeStamp value)
void
StackedTimePlot2D. setTimeAxisBounds(TimeStamp minTime, TimeStamp maxTime)
void
StackedTimePlot2D. setTimeSelection(TimeStamp minTime, TimeStamp maxTime)
void
StackedTimePlot2D. setTimeSelection(TimeStamp minTime, TimeStamp selectedTime, TimeStamp maxTime)
void
StackedTimePlot2D. shiftTimeAxisBounds(TimeStamp maxTime)
void
StackedTimePlot2D. shiftTimeSelection(TimeStamp maxTime)
-
Uses of TimeStamp in com.metsci.glimpse.core.plot.timeline.data
Methods in com.metsci.glimpse.core.plot.timeline.data that return TimeStamp Modifier and Type Method Description TimeStamp
TimeSpan. getEndTime()
TimeStamp
TimeSpan. getStartTime()
TimeStamp
Epoch. getTimeStamp()
TimeStamp
Epoch. toTimeStamp(double axisValue)
Converts a value along an Axis1D into an absolute time by interpreting the values along the Axis1D as offsets in seconds from the point in time represented by this Epoch.Methods in com.metsci.glimpse.core.plot.timeline.data with parameters of type TimeStamp Modifier and Type Method Description boolean
TimeSpan. contains(TimeStamp time)
double
Epoch. fromTimeStamp(TimeStamp time)
Converts a TimeStamp to a value along an Axis1D.void
TimeSpan. setEndTime(TimeStamp endTime)
void
TimeSpan. setStartTime(TimeStamp startTime)
Constructors in com.metsci.glimpse.core.plot.timeline.data with parameters of type TimeStamp Constructor Description Epoch(TimeStamp epoch)
TimeSpan(TimeStamp startTime, TimeStamp endTime)
-
Uses of TimeStamp in com.metsci.glimpse.core.plot.timeline.event
Methods in com.metsci.glimpse.core.plot.timeline.event that return TimeStamp Modifier and Type Method Description TimeStamp
Event. getEndTime()
TimeStamp
EventBounds. getIconEndTime()
Returns the timestamp associated with the right hand side of the icon.TimeStamp
EventBounds. getIconStartTime()
Returns the timestamp associated with the left hand side of the icon.TimeStamp
Event. getStartTime()
TimeStamp
EventBounds. getTextEndTime()
Returns the timestamp associated with the right hand side of the label.TimeStamp
EventBounds. getTextStartTime()
Returns the timestamp associated with the left hand side of the label.TimeStamp
EventPlotInfo. getTime(GlimpseMouseEvent e)
Methods in com.metsci.glimpse.core.plot.timeline.event with parameters of type TimeStamp Modifier and Type Method Description Event
EventPlotInfo. addEvent(Object id, String label, TimeStamp time)
Event
EventPlotInfo. addEvent(Object id, String label, TimeStamp startTime, TimeStamp endTime)
Event
EventPlotInfo. addEvent(String label, TimeStamp time)
Event
EventPlotInfo. addEvent(String label, TimeStamp startTime, TimeStamp endTime)
void
EventManager.Row. calculateVisibleEvents(Axis1D axis, TimeStamp min, TimeStamp max)
void
EventManager.Row. calculateVisibleEventsAggregated(Axis1D axis, TimeStamp min, TimeStamp max)
void
EventManager.Row. calculateVisibleEventsNormal(TimeStamp min, TimeStamp max)
boolean
Event. contains(TimeStamp time)
Returns whether the provided Timestamp is inside the bounds of this Event.boolean
EventBounds. containsIcon(TimeStamp time)
boolean
EventBounds. containsText(TimeStamp time)
static Event
Event. createDummyEvent(TimeStamp time)
Collection<Event>
EventManager.Row. getNearestVisibleEvents(TimeStamp timeStart, TimeStamp timeEnd)
void
EventManager. moveEvent(Event event, TimeStamp newStartTime, TimeStamp newEndTime)
void
AggregateEvent. setEndTime(TimeStamp endTime)
void
Event. setEndTime(TimeStamp endTime)
void
EventBounds. setIconEndTime(TimeStamp iconEndTime)
void
EventBounds. setIconStartTime(TimeStamp iconStartTime)
void
AggregateEvent. setStartTime(TimeStamp startTime)
void
Event. setStartTime(TimeStamp startTime)
void
EventBounds. setTextEndTime(TimeStamp textEndTime)
void
EventBounds. setTextStartTime(TimeStamp textStartTime)
void
AggregateEvent. setTimes(TimeStamp startTime, TimeStamp endTime)
void
AggregateEvent. setTimes(TimeStamp startTime, TimeStamp endTime, boolean force)
void
Event. setTimes(GlimpseMouseEvent mouseEvent, TimeStamp startTime, TimeStamp endTime, boolean force)
void
Event. setTimes(TimeStamp startTime, TimeStamp endTime)
void
Event. setTimes(TimeStamp startTime, TimeStamp endTime, boolean force)
Sets the start and end time for this Event.void
EventPlotInfo. updateEvent(Event oldEvent, TimeStamp newStartTime, TimeStamp newEndTime)
-
Uses of TimeStamp in com.metsci.glimpse.core.plot.timeline.event.listener
Methods in com.metsci.glimpse.core.plot.timeline.event.listener with parameters of type TimeStamp Modifier and Type Method Description void
DragListener. eventsClicked(GlimpseMouseEvent ev, Set<EventSelection> events, TimeStamp time)
void
EventPlotAdapter. eventsClicked(GlimpseMouseEvent e, Set<EventSelection> events, TimeStamp time)
void
EventPlotListener. eventsClicked(GlimpseMouseEvent e, Set<EventSelection> events, TimeStamp time)
Indicates the mouse clicked on the Events contained in the EventSelection Set.void
DragListener. eventsEntered(GlimpseMouseEvent ev, Set<EventSelection> events, TimeStamp time)
void
EventPlotAdapter. eventsEntered(GlimpseMouseEvent e, Set<EventSelection> events, TimeStamp time)
void
EventPlotListener. eventsEntered(GlimpseMouseEvent e, Set<EventSelection> events, TimeStamp time)
Indicates the mouse moved into of the Events contained in the EventSelection Set.void
DragListener. eventsExited(GlimpseMouseEvent ev, Set<EventSelection> events, TimeStamp time)
void
EventPlotAdapter. eventsExited(GlimpseMouseEvent e, Set<EventSelection> events, TimeStamp time)
void
EventPlotListener. eventsExited(GlimpseMouseEvent e, Set<EventSelection> events, TimeStamp time)
Indicates the mouse moved outside of the events contained in the EventSelection Set.void
DragListener. eventsHovered(GlimpseMouseEvent ev, Set<EventSelection> events, TimeStamp time)
void
EventPlotAdapter. eventsHovered(GlimpseMouseEvent e, Set<EventSelection> events, TimeStamp time)
void
EventPlotListener. eventsHovered(GlimpseMouseEvent e, Set<EventSelection> events, TimeStamp time)
Indicates that the mouse moved while inside the Events contained in the EventSelection Set. -
Uses of TimeStamp in com.metsci.glimpse.core.support.interval
Methods in com.metsci.glimpse.core.support.interval with parameters of type TimeStamp Modifier and Type Method Description Collection<V>
IntervalQuadTree. get(TimeStamp time)
Collection<V>
IntervalQuadTree. get(TimeStamp start, boolean startInclusive, TimeStamp end, boolean endInclusive)
Collection<V>
IntervalQuadTree. get(TimeStamp start, TimeStamp end)
Collection<V>
IntervalQuadTree. getInterior(TimeStamp start, boolean startInclusive, TimeStamp end, boolean endInclusive)
Collection<V>
IntervalQuadTree. getInterior(TimeStamp start, TimeStamp end)
-
Uses of TimeStamp in com.metsci.glimpse.util.units.time
Classes in com.metsci.glimpse.util.units.time with type parameters of type TimeStamp Modifier and Type Interface Description interface
TimeStampFactory<T extends TimeStamp>
Subclasses of TimeStamp in com.metsci.glimpse.util.units.time Modifier and Type Class Description class
TimeStampPosixMicrosInt64
A TimeStamp implementation that stores the number of microseconds since the epoch (1970-01-01 00:00:00 UTC) as a long.class
TimeStampPosixMillisInt64
A TimeStamp implementation that stores the number of milliseconds since the epoch (1970-01-01 00:00:00 UTC) as a long.class
TimeStampPosixSecondsFloat64
A TimeStamp implementation that stores the number of seconds since the epoch (1970-01-01 00:00:00 UTC) as a double.Methods in com.metsci.glimpse.util.units.time that return TimeStamp Modifier and Type Method Description abstract TimeStamp
TimeStamp. add(double duration)
Creates a new TimeStamp instance offset from this timestamp by the given amount.static TimeStamp
TimeStamp. currentTime()
Creates a TimeStamp that represents the current system time.static TimeStamp
TimeStamp. fromCalendar(Calendar calendar)
Converts aCalendar
to a TimeStamp.static TimeStamp
TimeStamp. fromDate(Date date)
Converts aDate
to a TimeStamp.static TimeStamp
TimeStamp. fromPosixMicros(long posixMicros)
Converts a timestamp in posix microseconds to a TimeStamp.static TimeStamp
TimeStamp. fromPosixMillis(long posixMillis)
Converts a timestamp in posix milliseconds to a TimeStamp.static TimeStamp
TimeStamp. fromPosixNanos(long posixNanos)
Converts a timestamp in posix nanoseconds to a TimeStamp.static TimeStamp
TimeStamp. fromPosixSeconds(double posixSeconds)
Converts a timestamp in posix seconds to a TimeStamp.static TimeStamp
TimeStamp. fromPosixSeconds(BigDecimal posixSeconds)
Converts a timestamp in posix seconds to a TimeStamp.static TimeStamp
TimeStamp. fromString(String string)
Converts aString
to a TimeStamp, usingdefaultFormat
.static TimeStamp
TimeStamp. fromString(String string, TimeStampFormat format)
Converts aString
to a TimeStamp.static TimeStamp
TimeStamp. fromTimeStamp(TimeStamp timeStamp)
Converts a TimeStamp of any subclass to a TimeStamp of the default subclass.static TimeStamp
TimeStamp. posixEpoch()
Returns a TimeStamp that represents the posix epoch.abstract TimeStamp
TimeStamp. subtract(double duration)
Creates a new TimeStamp instance offset from this timestamp by the given amount.Methods in com.metsci.glimpse.util.units.time with parameters of type TimeStamp Modifier and Type Method Description int
TimeStamp. compareTo(TimeStamp o)
int
TimeStampPosixMicrosInt64. compareTo(TimeStamp o)
int
TimeStampPosixMillisInt64. compareTo(TimeStamp o)
int
TimeStampPosixSecondsFloat64. compareTo(TimeStamp o)
double
TimeStamp. durationAfter(TimeStamp o)
Determines how long after the given timestamp this timestamp is.double
TimeStampPosixMicrosInt64. durationAfter(TimeStamp o)
double
TimeStampPosixMillisInt64. durationAfter(TimeStamp o)
double
TimeStampPosixSecondsFloat64. durationAfter(TimeStamp o)
double
TimeStamp. durationBefore(TimeStamp o)
Determines how long before the given timestamp this timestamp is.double
TimeStampPosixMicrosInt64. durationBefore(TimeStamp o)
double
TimeStampPosixMillisInt64. durationBefore(TimeStamp o)
double
TimeStampPosixSecondsFloat64. durationBefore(TimeStamp o)
static TimeStamp
TimeStamp. fromTimeStamp(TimeStamp timeStamp)
Converts a TimeStamp of any subclass to a TimeStamp of the default subclass.T
TimeStampFactory. fromTimeStamp(TimeStamp timeStamp)
boolean
TimeStamp. isAfter(TimeStamp o)
Returns true iff this timestamp is after the given timestamp.boolean
TimeStampPosixMicrosInt64. isAfter(TimeStamp o)
boolean
TimeStampPosixMillisInt64. isAfter(TimeStamp o)
boolean
TimeStampPosixSecondsFloat64. isAfter(TimeStamp o)
boolean
TimeStamp. isAfterOrEquals(TimeStamp o)
Returns true iff this timestamp is after or equal to the given timestamp.boolean
TimeStamp. isBefore(TimeStamp o)
Returns true iff this timestamp is before the given timestamp.boolean
TimeStampPosixMicrosInt64. isBefore(TimeStamp o)
boolean
TimeStampPosixMillisInt64. isBefore(TimeStamp o)
boolean
TimeStampPosixSecondsFloat64. isBefore(TimeStamp o)
boolean
TimeStamp. isBeforeOrEquals(TimeStamp o)
Returns true iff this timestamp is before or equal to the given timestamp.
-