Seconds |
Seconds.dividedBy(int divisor) |
Returns a new instance with the seconds divided by the specified divisor.
|
Seconds |
Seconds.minus(int seconds) |
Returns a new instance with the specified number of seconds taken away.
|
Seconds |
Seconds.minus(Seconds seconds) |
Returns a new instance with the specified number of seconds taken away.
|
Seconds |
Seconds.multipliedBy(int scalar) |
Returns a new instance with the seconds multiplied by the specified scalar.
|
Seconds |
Seconds.negated() |
Returns a new instance with the seconds value negated.
|
static Seconds |
Seconds.parseSeconds(String periodStr) |
Creates a new Seconds by parsing a string in the ISO8601 format 'PTnS'.
|
Seconds |
Seconds.plus(int seconds) |
Returns a new instance with the specified number of seconds added.
|
Seconds |
Seconds.plus(Seconds seconds) |
Returns a new instance with the specified number of seconds added.
|
static Seconds |
Seconds.seconds(int seconds) |
Obtains an instance of Seconds that may be cached.
|
static Seconds |
Seconds.secondsBetween(ReadableInstant start,
ReadableInstant end) |
Creates a Seconds representing the number of whole seconds
between the two specified datetimes.
|
static Seconds |
Seconds.secondsBetween(ReadablePartial start,
ReadablePartial end) |
Creates a Seconds representing the number of whole seconds
between the two specified partial datetimes.
|
static Seconds |
Seconds.secondsIn(ReadableInterval interval) |
Creates a Seconds representing the number of whole seconds
in the specified interval.
|
static Seconds |
Seconds.standardSecondsIn(ReadablePeriod period) |
Creates a new Seconds representing the number of complete
standard length seconds in the specified period.
|
Seconds |
Days.toStandardSeconds() |
Converts this period in days to a period in seconds assuming a
24 hour day, 60 minute hour and 60 second minute.
|
Seconds |
Duration.toStandardSeconds() |
Converts this duration to a period in seconds assuming that there are the
standard number of milliseconds in a second.
|
Seconds |
Hours.toStandardSeconds() |
Converts this period in hours to a period in seconds assuming a
60 minute hour and 60 second minute.
|
Seconds |
Minutes.toStandardSeconds() |
Converts this period in minutes to a period in seconds assuming a
60 second minute.
|
Seconds |
Period.toStandardSeconds() |
Converts this period to a period in seconds assuming a
7 day week, 24 hour day, 60 minute hour and 60 second minute.
|
Seconds |
Weeks.toStandardSeconds() |
Converts this period in weeks to a period in seconds assuming a
7 day week, 24 hour day, 60 minute hour and 60 second minute.
|