@Entity public class Interval extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static String |
DAYS |
static String |
HOURS |
static String |
MINUTES |
static String |
SECONDS |
Constructor and Description |
---|
Interval() |
Interval(int duration,
String unit) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
getDuration() |
String |
getUnit() |
int |
hashCode() |
Interval |
setDuration(int duration) |
Interval |
setUnit(String unit) |
long |
toMillis() |
String |
toString() |
public static final String SECONDS
public static final String MINUTES
public static final String HOURS
public static final String DAYS
public Interval()
public Interval(int duration, String unit)
Copyright © 2015 The Open Web Application Security Project (OWASP). All rights reserved.