HERE Android SDK Developer's Guide

TimeInterval

The class TimeInterval is a member of com.here.android.mpa.common .

Class Summary

public final class TimeInterval

extends java.lang.Object

This is the definition of the TimeInterval class.

[For complete information, see the section Class Details]

Method Summary

Table 1. Methods in TimeInterval
Methods

public boolean equals (Object other)

For documentation, see java.lang.Object

public Date getEndTime ()

gets the end time for the TimeInterval

public Date getStartTime ()

gets the start time for the TimeInterval

public int hashCode ()

For documentation, see java.lang.Object

Class Details

This is the definition of the TimeInterval class. A TimeInterval describes the start time and end time of any event

Method Details

public boolean equals (Object other)

For documentation, see java.lang.Object

Parameters:

  • other

public Date getEndTime ()

gets the end time for the TimeInterval

Returns:

End time as a java.util.Date object.

public Date getStartTime ()

gets the start time for the TimeInterval

Returns:

start time as a java.util.Date object.

public int hashCode ()

For documentation, see java.lang.Object