Class Interval (2.30.1)

public class Interval implements Serializable

Inheritance

Object > Interval

Implements

Serializable

Static Methods

builder()

public static Interval.Builder builder()
Returns
Type Description
Builder

fromMonthsDaysNanos(int arg0, int arg1, BigInteger arg2)

public static Interval fromMonthsDaysNanos(int arg0, int arg1, BigInteger arg2)
Parameters
Name Description
arg0 int
arg1 int
arg2 BigInteger
Returns
Type Description
Interval

ofDays(int arg0)

public static Interval ofDays(int arg0)
Parameter
Name Description
arg0 int
Returns
Type Description
Interval

ofMicros(long arg0)

public static Interval ofMicros(long arg0)
Parameter
Name Description
arg0 long
Returns
Type Description
Interval

ofMillis(long arg0)

public static Interval ofMillis(long arg0)
Parameter
Name Description
arg0 long
Returns
Type Description
Interval

ofMonths(int arg0)

public static Interval ofMonths(int arg0)
Parameter
Name Description
arg0 int
Returns
Type Description
Interval

ofNanos(BigInteger arg0)

public static Interval ofNanos(BigInteger arg0)
Parameter
Name Description
arg0 BigInteger
Returns
Type Description
Interval

ofSeconds(long arg0)

public static Interval ofSeconds(long arg0)
Parameter
Name Description
arg0 long
Returns
Type Description
Interval

parseFromString(String arg0)

public static Interval parseFromString(String arg0)
Parameter
Name Description
arg0 String
Returns
Type Description
Interval

Methods

equals(Object arg0)

public boolean equals(Object arg0)
Parameter
Name Description
arg0 Object
Returns
Type Description
boolean
Overrides

getDays()

public int getDays()
Returns
Type Description
int

getMonths()

public int getMonths()
Returns
Type Description
int

getNanos()

public BigInteger getNanos()
Returns
Type Description
BigInteger

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toISO8601()

public String toISO8601()
Returns
Type Description
String

toString()

public String toString()
Returns
Type Description
String
Overrides