@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) public class Moment extends Object implements Comparable<Object>
Constructor and Description |
---|
Moment() |
Moment(Calendar cal) |
Moment(long timeInMillis) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Object o) |
boolean |
equals(Object o) |
Date |
getTime() |
long |
getTimeInMillis() |
int |
hashCode() |
boolean |
isAfter(Calendar c) |
boolean |
isAfter(Moment m) |
boolean |
isBefore(Calendar c) |
boolean |
isBefore(Moment m) |
boolean |
isSame(Calendar c) |
boolean |
isSame(Moment m) |
Moment |
nextMinute() |
Moment |
previousMinute() |
String |
toString() |
public Moment()
public Moment(long timeInMillis)
public Moment(Calendar cal)
public Moment nextMinute()
public Moment previousMinute()
public Date getTime()
public int compareTo(Object o)
compareTo
in interface Comparable<Object>
public boolean isBefore(Moment m)
public boolean isBefore(Calendar c)
public boolean isSame(Moment m)
public boolean isSame(Calendar c)
public boolean isAfter(Moment m)
public boolean isAfter(Calendar c)
public long getTimeInMillis()
Copyright © 2016–2023. All rights reserved.