Uses of Class
org.joda.time.DateTime

Packages that use DateTime
org.joda.time Provides support for dates, times, time zones, durations, intervals, and partials. 
org.joda.time.base Implementation package providing abstract and base time classes. 
org.joda.time.chrono Package containing the chronology classes which define the calendar systems. 
org.joda.time.format Provides printing and parsing support for instants and durations. 
 

Uses of DateTime in org.joda.time
 

Methods in org.joda.time that return DateTime
 DateTime ReadablePartial.toDateTime(ReadableInstant baseInstant)
          Converts this partial to a full datetime by resolving it against another datetime.
 DateTime Instant.toDateTime()
          Get this object as a DateTime using ISOChronology in the default zone.
 DateTime Instant.toDateTimeISO()
          Get this object as a DateTime using ISOChronology in the default zone.
 DateTime DateTime.Property.getDateTime()
          Gets the datetime being used.
 DateTime DateTime.Property.addToCopy(int value)
          Adds to this field in a copy of this DateTime.
 DateTime DateTime.Property.addToCopy(long value)
          Adds to this field in a copy of this DateTime.
 DateTime DateTime.Property.addWrapFieldToCopy(int value)
          Adds to this field, possibly wrapped, in a copy of this DateTime.
 DateTime DateTime.Property.setCopy(int value)
          Sets this field in a copy of the DateTime.
 DateTime DateTime.Property.setCopy(String text, Locale locale)
          Sets this field in a copy of the DateTime to a parsed text value.
 DateTime DateTime.Property.setCopy(String text)
          Sets this field in a copy of the DateTime to a parsed text value.
 DateTime DateTime.Property.withMaximumValue()
          Returns a new DateTime with this field set to the maximum value for this field.
 DateTime DateTime.Property.withMinimumValue()
          Returns a new DateTime with this field set to the minimum value for this field.
 DateTime DateTime.Property.roundFloorCopy()
          Rounds to the lowest whole unit of this field on a copy of this DateTime.
 DateTime DateTime.Property.roundCeilingCopy()
          Rounds to the highest whole unit of this field on a copy of this DateTime.
 DateTime DateTime.Property.roundHalfFloorCopy()
          Rounds to the nearest whole unit of this field on a copy of this DateTime, favoring the floor if halfway.
 DateTime DateTime.Property.roundHalfCeilingCopy()
          Rounds to the nearest whole unit of this field on a copy of this DateTime, favoring the ceiling if halfway.
 DateTime DateTime.Property.roundHalfEvenCopy()
          Rounds to the nearest whole unit of this field on a copy of this DateTime.
 DateTime DateTime.toDateTime()
          Get this object as a DateTime by returning this.
 DateTime DateTime.toDateTimeISO()
          Get this object as a DateTime using ISOChronology in the default zone, returning this if possible.
 DateTime DateTime.toDateTime(DateTimeZone zone)
          Get this object as a DateTime, returning this if possible.
 DateTime DateTime.toDateTime(Chronology chronology)
          Get this object as a DateTime, returning this if possible.
 DateTime DateTime.withMillis(long newMillis)
          Gets a copy of this datetime with different millis.
 DateTime DateTime.withChronology(Chronology newChronology)
          Gets a copy of this datetime with a different chronology.
 DateTime DateTime.withZone(DateTimeZone newZone)
          Gets a copy of this datetime with a different time zone, preserving the millisecond instant.
 DateTime DateTime.withZoneRetainFields(DateTimeZone newZone)
          Gets a copy of this datetime with a different time zone, preserving the field values.
 DateTime DateTime.withDate(int year, int monthOfYear, int dayOfMonth)
          Gets a copy of this datetime with the specified date, retaining the time fields.
 DateTime DateTime.withTime(int hourOfDay, int minuteOfHour, int secondOfMinute, int millisOfSecond)
          Gets a copy of this datetime with the specified time, retaining the date fields.
 DateTime DateTime.withFields(ReadablePartial partial)
          Gets a copy of this datetime with the partial set of fields replacing those from this instance.
 DateTime DateTime.withField(DateTimeFieldType fieldType, int value)
          Gets a copy of this datetime with the specified field set to a new value.
 DateTime DateTime.withFieldAdded(DurationFieldType fieldType, int amount)
          Gets a copy of this datetime with the value of the specified field increased.
 DateTime DateTime.withDurationAdded(long durationToAdd, int scalar)
          Gets a copy of this datetime with the specified duration added.
 DateTime DateTime.withDurationAdded(ReadableDuration durationToAdd, int scalar)
          Gets a copy of this datetime with the specified duration added.
 DateTime DateTime.withPeriodAdded(ReadablePeriod period, int scalar)
          Gets a copy of this datetime with the specified period added.
 DateTime DateTime.plus(long duration)
          Gets a copy of this datetime with the specified duration added.
 DateTime DateTime.plus(ReadableDuration duration)
          Gets a copy of this datetime with the specified duration added.
 DateTime DateTime.plus(ReadablePeriod period)
          Gets a copy of this datetime with the specified period added.
 DateTime DateTime.plusYears(int years)
          Returns a new datetime plus the specified number of years.
 DateTime DateTime.plusMonths(int months)
          Returns a new datetime plus the specified number of months.
 DateTime DateTime.plusWeeks(int weeks)
          Returns a new datetime plus the specified number of weeks.
 DateTime DateTime.plusDays(int days)
          Returns a new datetime plus the specified number of days.
 DateTime DateTime.plusHours(int hours)
          Returns a new datetime plus the specified number of hours.
 DateTime DateTime.plusMinutes(int minutes)
          Returns a new datetime plus the specified number of minutes.
 DateTime DateTime.plusSeconds(int seconds)
          Returns a new datetime plus the specified number of seconds.
 DateTime DateTime.plusMillis(int millis)
          Returns a new datetime plus the specified number of millis.
 DateTime DateTime.minus(long duration)
          Gets a copy of this datetime with the specified duration take away.
 DateTime DateTime.minus(ReadableDuration duration)
          Gets a copy of this datetime with the specified duration take away.
 DateTime DateTime.minus(ReadablePeriod period)
          Gets a copy of this datetime with the specified period take away.
 DateTime DateTime.minusYears(int years)
          Returns a new datetime minus the specified number of years.
 DateTime DateTime.minusMonths(int months)
          Returns a new datetime minus the specified number of months.
 DateTime DateTime.minusWeeks(int weeks)
          Returns a new datetime minus the specified number of weeks.
 DateTime DateTime.minusDays(int days)
          Returns a new datetime minus the specified number of days.
 DateTime DateTime.minusHours(int hours)
          Returns a new datetime minus the specified number of hours.
 DateTime DateTime.minusMinutes(int minutes)
          Returns a new datetime minus the specified number of minutes.
 DateTime DateTime.minusSeconds(int seconds)
          Returns a new datetime minus the specified number of seconds.
 DateTime DateTime.minusMillis(int millis)
          Returns a new datetime minus the specified number of millis.
 DateTime ReadableDateTime.toDateTime()
          Get this object as a DateTime.
 DateTime YearMonthDay.toDateTimeAtMidnight()
          Converts this YearMonthDay to a full datetime at midnight using the default time zone.
 DateTime YearMonthDay.toDateTimeAtMidnight(DateTimeZone zone)
          Converts this YearMonthDay to a full datetime at midnight using the specified time zone.
 DateTime YearMonthDay.toDateTimeAtCurrentTime()
          Converts this partial to a full datetime using the default time zone setting the date fields from this instance and the time fields from the current time.
 DateTime YearMonthDay.toDateTimeAtCurrentTime(DateTimeZone zone)
          Converts this partial to a full datetime using the specified time zone setting the date fields from this instance and the time fields from the current time.
 DateTime YearMonthDay.toDateTime(TimeOfDay time)
          Converts this object to a DateTime using a TimeOfDay to fill in the missing fields and using the default time zone.
 DateTime YearMonthDay.toDateTime(TimeOfDay time, DateTimeZone zone)
          Converts this object to a DateTime using a TimeOfDay to fill in the missing fields.
 DateTime TimeOfDay.toDateTimeToday()
          Converts this partial to a full datetime using the default time zone setting the time fields from this instance and the date fields from the current time.
 DateTime TimeOfDay.toDateTimeToday(DateTimeZone zone)
          Converts this partial to a full datetime using the specified time zone setting the time fields from this instance and the date fields from the current time.
 DateTime ReadableInterval.getStart()
          Gets the start of this time interval, which is inclusive, as a DateTime.
 DateTime ReadableInterval.getEnd()
          Gets the end of this time interval, which is exclusive, as a DateTime.
 

Uses of DateTime in org.joda.time.base
 

Methods in org.joda.time.base that return DateTime
 DateTime AbstractInstant.toDateTime()
          Get this object as a DateTime in the same zone.
 DateTime AbstractInstant.toDateTimeISO()
          Get this object as a DateTime using ISOChronology in the same zone.
 DateTime AbstractInstant.toDateTime(DateTimeZone zone)
          Get this object as a DateTime using the same chronology but a different zone.
 DateTime AbstractInstant.toDateTime(Chronology chronology)
          Get this object as a DateTime using the given chronology and its zone.
 DateTime AbstractPartial.toDateTime(ReadableInstant baseInstant)
          Resolves this partial against another complete instant to create a new full instant.
 DateTime AbstractInterval.getStart()
          Gets the start of this time interval, which is inclusive, as a DateTime.
 DateTime AbstractInterval.getEnd()
          Gets the end of this time interval, which is exclusive, as a DateTime.
 

Uses of DateTime in org.joda.time.chrono
 

Methods in org.joda.time.chrono that return DateTime
 DateTime LimitChronology.getLowerLimit()
          Returns the inclusive lower limit instant.
 DateTime LimitChronology.getUpperLimit()
          Returns the inclusive upper limit instant.
 

Uses of DateTime in org.joda.time.format
 

Methods in org.joda.time.format that return DateTime
 DateTime DateTimeFormatter.parseDateTime(String text)
          Parses a datetime from the given text, returning a new DateTime.
 



Copyright © 2002-2008 Joda.org. All Rights Reserved.