Package com.dropbox.core.v2.teamcommon
Class TimeRange
java.lang.Object
com.dropbox.core.v2.teamcommon.TimeRange
Time range.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder forTimeRange.static classFor internal use only. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanOptional ending time (exclusive).Optional starting time (inclusive).inthashCode()static TimeRange.BuilderReturns a new builder for creating an instance of this class.toString()Returns a String representation of this object formatted for easier readability.
-
Field Details
-
startTime
-
endTime
-
-
Constructor Details
-
TimeRange
Time range.Use
newBuilder()to create instances of this class without specifying values for all optional fields.- Parameters:
startTime- Optional starting time (inclusive).endTime- Optional ending time (exclusive).
-
TimeRange
public TimeRange()Time range.The default values for unset fields will be used.
-
-
Method Details
-
getStartTime
Optional starting time (inclusive).- Returns:
- value for this field, or
nullif not present.
-
getEndTime
Optional ending time (exclusive).- Returns:
- value for this field, or
nullif not present.
-
newBuilder
Returns a new builder for creating an instance of this class.- Returns:
- builder for this class.
-
hashCode
public int hashCode() -
equals
-
toString
-
toStringMultiline
Returns a String representation of this object formatted for easier readability.The returned String may contain newlines.
- Returns:
- Formatted, multiline String representation of this object
-