public class TimeRange
extends java.lang.Object
| Constructor and Description |
|---|
TimeRange(java.time.temporal.ChronoUnit unit,
long numberOfUnits,
java.lang.String label) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
java.time.Duration |
getDuration() |
java.lang.String |
getLabel() |
long |
getNumberOfUnits() |
java.time.temporal.ChronoUnit |
getUnit() |
int |
hashCode() |
public TimeRange(java.time.temporal.ChronoUnit unit,
long numberOfUnits,
java.lang.String label)
numberOfUnits - numberOfUnits of given unitsunit - unitlabel - label to displaypublic java.lang.String getLabel()
public java.time.Duration getDuration()
public java.time.temporal.ChronoUnit getUnit()
public long getNumberOfUnits()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.ObjectCopyright © 2018 SAP SE. All Rights Reserved.