Class Time
- java.lang.Object
-
- jetbrains.buildServer.buildTriggers.scheduler.Time
-
- All Implemented Interfaces:
Comparable<Time>
public class Time extends Object implements Comparable<Time>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(Time o)booleanequals(Object o)intgetHour()intgetHourNormalized(long time)intgetMinute()intgetMinuteNormalized(long time)StringgetTimeZone()inthashCode()voidsetTimeZone(String timeZone)StringtoString()
-
-
-
Constructor Detail
-
Time
public Time(int hours, int minutes)
-
Time
public Time(int hours, int minutes, @Nullable String timeZone)
-
-
Method Detail
-
getHour
public int getHour()
-
getMinute
public int getMinute()
-
getTimeZone
@Nullable public String getTimeZone()
-
setTimeZone
public void setTimeZone(@NotNull String timeZone)
-
getHourNormalized
public int getHourNormalized(long time)
-
getMinuteNormalized
public int getMinuteNormalized(long time)
-
compareTo
public int compareTo(Time o)
- Specified by:
compareToin interfaceComparable<Time>
-
-