Uses of Class org.joda.time.Duration

Uses in package org.joda.time

Fields of type org.joda.time.Duration

Duration
Constant representing zero millisecond duration

Methods with return type org.joda.time.Duration

Duration
Duration.minus(long amount)
Returns a new duration with this length minus that specified.
Duration
Returns a new duration with this length minus that specified.
Duration
Duration.plus(long amount)
Returns a new duration with this length plus that specified.
Duration
Returns a new duration with this length plus that specified.
Duration
Create a duration with the specified number of days assuming that there are the standard number of milliseconds in a day.
Duration
Duration.standardHours(long hours)
Create a duration with the specified number of hours assuming that there are the standard number of milliseconds in an hour.
Duration
Duration.standardMinutes(long minutes)
Create a duration with the specified number of minutes assuming that there are the standard number of milliseconds in a minute.
Duration
Duration.standardSeconds(long seconds)
Create a duration with the specified number of seconds assuming that there are the standard number of milliseconds in a second.
Duration
Get this duration as an immutable Duration object by returning this.
Duration
Get this duration as an immutable Duration object.
Duration
Gets the millisecond duration of this time interval.
Duration
Converts this period in days to a duration in milliseconds assuming a 24 hour day, 60 minute hour and 60 second minute.
Duration
Converts this period in hours to a duration in milliseconds assuming a 60 minute hour and 60 second minute.
Duration
Converts this period in minutes to a duration in milliseconds assuming a 60 second minute.
Duration
Converts this period to a duration assuming a 7 day week, 24 hour day, 60 minute hour and 60 second minute.
Duration
Converts this period in seconds to a duration in milliseconds assuming a 24 hour day, 60 minute hour and 60 second minute.
Duration
Converts this period in weeks to a duration in milliweeks assuming a 7 day week, 24 hour day, 60 minute hour and 60 second minute.
Duration
Duration.withDurationAdded(long durationToAdd, int scalar)
Returns a new duration with this length plus that specified multiplied by the scalar.
Duration
Duration.withDurationAdded(ReadableDuration durationToAdd, int scalar)
Returns a new duration with this length plus that specified multiplied by the scalar.
Duration
Duration.withMillis(long duration)
Creates a new Duration instance with a different milisecond length.

Uses in package org.joda.time.base

Methods with return type org.joda.time.Duration

Duration
Get this duration as an immutable Duration object.
Duration
Gets the duration of this time interval.
Duration
Gets the total millisecond duration of this period relative to a start instant.
Duration
Gets the total millisecond duration of this period relative to an end instant.

Copyright (c) 2001-2006 - Joda.org