Java org.joda.time Seconds fields, constructors, methods, implement or subclass

Example usage for Java org.joda.time Seconds fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.joda.time Seconds.

The text is from its open source code.

Field

SecondsONE
Constant representing one second.

Constructor

Seconds(int seconds)
Creates a new instance representing a number of seconds.

Method

intcompareTo(BaseSingleFieldPeriod other)
Compares this period to another object of the same class.
intgetSeconds()
Gets the number of seconds that this period represents.
SecondsparseSeconds(String periodStr)
Creates a new Seconds by parsing a string in the ISO8601 format 'PTnS'.
SecondssecondsBetween(ReadableInstant start, ReadableInstant end)
Creates a Seconds representing the number of whole seconds between the two specified datetimes.
SecondssecondsBetween(ReadablePartial start, ReadablePartial end)
Creates a Seconds representing the number of whole seconds between the two specified partial datetimes.
SecondssecondsIn(ReadableInterval interval)
Creates a Seconds representing the number of whole seconds in the specified interval.