All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.intelie.pipes.time.Period Maven / Gradle / Ivy

There is a newer version: 0.25.5
Show newest version
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);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy