@ExperimentalApi public class RetentionPeriod extends Object
Modifier and Type | Method and Description |
---|---|
int |
getNumber() |
ChronoUnit |
getUnits() |
boolean |
isLongerThan(RetentionPeriod other) |
static RetentionPeriod |
of(int number,
ChronoUnit units) |
void |
setNumber(int number) |
void |
setUnits(ChronoUnit units) |
public static RetentionPeriod of(int number, ChronoUnit units)
public int getNumber()
public void setNumber(int number)
public ChronoUnit getUnits()
public void setUnits(ChronoUnit units)
public boolean isLongerThan(RetentionPeriod other)
Copyright © 2003–2020 Atlassian. All rights reserved.