net.intelie.pipes.time.Period Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pipes-api Show documentation
Show all versions of pipes-api Show documentation
Intelie Pipes' API classes and interfaces
package net.intelie.pipes.time;
import net.intelie.pipes.PipeException;
import java.time.ZoneId;
import java.util.Map;
public interface Period extends PeriodBase {
static Period parse(String period) throws PipeException {
return new TimeSpanParser().parsePeriod(period);
}
static Period parse(String period, ZoneId zone) throws PipeException {
return new TimeSpanParser().parsePeriod(period, zone);
}
boolean supportsFloor();
Map simple();
String toString(boolean includeOne);
Period multiply(int amount);
Period forceZone(ZoneId zone);
}