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 YearMonthDay.toDateTimeAtMidnight()
          Deprecated. Converts this YearMonthDay to a full datetime at midnight using the default time zone.
 DateTime YearMonthDay.toDateTimeAtMidnight(DateTimeZone zone)
          Deprecated. Converts this YearMonthDay to a full datetime at midnight using the specified time zone.
 DateTime YearMonthDay.toDateTimeAtCurrentTime()
          Deprecated. 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)
          Deprecated. 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)
          Deprecated. 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)
          Deprecated. Converts this object to a DateTime using a TimeOfDay to fill in the missing fields.
 DateTime TimeOfDay.toDateTimeToday()
          Deprecated. 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)
          Deprecated. 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 ReadablePartial.toDateTime(ReadableInstant baseInstant)
          Converts this partial to a full datetime by resolving it against another datetime.
 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.
 DateTime ReadableDateTime.toDateTime()
          Get this object as a DateTime.
 DateTime LocalTime.toDateTimeToday()
          Converts this LocalTime to a full datetime using the default time zone setting the time fields from this instance and the date fields from the current date.
 DateTime LocalTime.toDateTimeToday(DateTimeZone zone)
          Converts this LocalTime 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 LocalDateTime.toDateTime()
          Converts this object to a DateTime using the default zone.
 DateTime LocalDateTime.toDateTime(DateTimeZone zone)
          Converts this object to a DateTime using the specified zone.
 DateTime LocalDate.toDateTimeAtStartOfDay()
          Converts this LocalDate to a full datetime at the earliest valid time for the date using the default time zone.
 DateTime LocalDate.toDateTimeAtStartOfDay(DateTimeZone zone)
          Converts this LocalDate to a full datetime at the earliest valid time for the date using the specified time zone.
 DateTime LocalDate.toDateTimeAtMidnight()
          Deprecated. Use LocalDate.toDateTimeAtStartOfDay() which won't throw an exception
 DateTime LocalDate.toDateTimeAtMidnight(DateTimeZone zone)
          Deprecated. Use LocalDate.toDateTimeAtStartOfDay(DateTimeZone) which won't throw an exception
 DateTime LocalDate.toDateTimeAtCurrentTime()
          Converts this LocalDate 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 LocalDate.toDateTimeAtCurrentTime(DateTimeZone zone)
          Converts this LocalDate 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 LocalDate.toDateTime(LocalTime time)
          Converts this object to a DateTime using a LocalTime to fill in the missing fields and using the default time zone.
 DateTime LocalDate.toDateTime(LocalTime time, DateTimeZone zone)
          Converts this object to a DateTime using a LocalTime to fill in the missing fields.
 DateTime Instant.toDateTime()
          Get this object as a DateTime using ISOChronology in the default zone.
 DateTime Instant.toDateTimeISO()
          Deprecated. Use toDateTime() as it is identical
 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)
          Returns a copy of this datetime with different millis.
 DateTime DateTime.withChronology(Chronology newChronology)
          Returns a copy of this datetime with a different chronology.
 DateTime DateTime.withZone(DateTimeZone newZone)
          Returns a copy of this datetime with a different time zone, preserving the millisecond instant.
 DateTime DateTime.withZoneRetainFields(DateTimeZone newZone)
          Returns a copy of this datetime with a different time zone, preserving the field values.
 DateTime DateTime.withDate(int year, int monthOfYear, int dayOfMonth)
          Returns a copy of this datetime with the specified date, retaining the time fields.
 DateTime DateTime.withTime(int hourOfDay, int minuteOfHour, int secondOfMinute, int millisOfSecond)
          Returns a copy of this datetime with the specified time, retaining the date fields.
 DateTime DateTime.withFields(ReadablePartial partial)
          Returns a copy of this datetime with the partial set of fields replacing those from this instance.
 DateTime DateTime.withField(DateTimeFieldType fieldType, int value)
          Returns a copy of this datetime with the specified field set to a new value.
 DateTime DateTime.withFieldAdded(DurationFieldType fieldType, int amount)
          Returns a copy of this datetime with the value of the specified field increased.
 DateTime DateTime.withDurationAdded(long durationToAdd, int scalar)
          Returns a copy of this datetime with the specified duration added.
 DateTime DateTime.withDurationAdded(ReadableDuration durationToAdd, int scalar)
          Returns a copy of this datetime with the specified duration added.
 DateTime DateTime.withPeriodAdded(ReadablePeriod period, int scalar)
          Returns a copy of this datetime with the specified period added.
 DateTime DateTime.plus(long duration)
          Returns a copy of this datetime with the specified duration added.
 DateTime DateTime.plus(ReadableDuration duration)
          Returns a copy of this datetime with the specified duration added.
 DateTime DateTime.plus(ReadablePeriod period)
          Returns a copy of this datetime with the specified period added.
 DateTime DateTime.plusYears(int years)
          Returns a copy of this datetime plus the specified number of years.
 DateTime DateTime.plusMonths(int months)
          Returns a copy of this datetime plus the specified number of months.
 DateTime DateTime.plusWeeks(int weeks)
          Returns a copy of this datetime plus the specified number of weeks.
 DateTime DateTime.plusDays(int days)
          Returns a copy of this datetime plus the specified number of days.
 DateTime DateTime.plusHours(int hours)
          Returns a copy of this datetime plus the specified number of hours.
 DateTime DateTime.plusMinutes(int minutes)
          Returns a copy of this datetime plus the specified number of minutes.
 DateTime DateTime.plusSeconds(int seconds)
          Returns a copy of this datetime plus the specified number of seconds.
 DateTime DateTime.plusMillis(int millis)
          Returns a copy of this datetime plus the specified number of millis.
 DateTime DateTime.minus(long duration)
          Returns a copy of this datetime with the specified duration taken away.
 DateTime DateTime.minus(ReadableDuration duration)
          Returns a copy of this datetime with the specified duration taken away.
 DateTime DateTime.minus(ReadablePeriod period)
          Returns a copy of this datetime with the specified period taken away.
 DateTime DateTime.minusYears(int years)
          Returns a copy of this datetime minus the specified number of years.
 DateTime DateTime.minusMonths(int months)
          Returns a copy of this datetime minus the specified number of months.
 DateTime DateTime.minusWeeks(int weeks)
          Returns a copy of this datetime minus the specified number of weeks.
 DateTime DateTime.minusDays(int days)
          Returns a copy of this datetime minus the specified number of days.
 DateTime DateTime.minusHours(int hours)
          Returns a copy of this datetime minus the specified number of hours.
 DateTime DateTime.minusMinutes(int minutes)
          Returns a copy of this datetime minus the specified number of minutes.
 DateTime DateTime.minusSeconds(int seconds)
          Returns a copy of this datetime minus the specified number of seconds.
 DateTime DateTime.minusMillis(int millis)
          Returns a copy of this datetime minus the specified number of millis.
 DateTime DateTime.withEra(int era)
          Returns a copy of this datetime with the era field updated.
 DateTime DateTime.withCenturyOfEra(int centuryOfEra)
          Returns a copy of this datetime with the century of era field updated.
 DateTime DateTime.withYearOfEra(int yearOfEra)
          Returns a copy of this datetime with the year of era field updated.
 DateTime DateTime.withYearOfCentury(int yearOfCentury)
          Returns a copy of this datetime with the year of century field updated.
 DateTime DateTime.withYear(int year)
          Returns a copy of this datetime with the year field updated.
 DateTime DateTime.withWeekyear(int weekyear)
          Returns a copy of this datetime with the weekyear field updated.
 DateTime DateTime.withMonthOfYear(int monthOfYear)
          Returns a copy of this datetime with the month of year field updated.
 DateTime DateTime.withWeekOfWeekyear(int weekOfWeekyear)
          Returns a copy of this datetime with the week of weekyear field updated.
 DateTime DateTime.withDayOfYear(int dayOfYear)
          Returns a copy of this datetime with the day of year field updated.
 DateTime DateTime.withDayOfMonth(int dayOfMonth)
          Returns a copy of this datetime with the day of month field updated.
 DateTime DateTime.withDayOfWeek(int dayOfWeek)
          Returns a copy of this datetime with the day of week field updated.
 DateTime DateTime.withHourOfDay(int hour)
          Returns a copy of this datetime with the hour of day field updated.
 DateTime DateTime.withMinuteOfHour(int minute)
          Returns a copy of this datetime with the minute of hour updated.
 DateTime DateTime.withSecondOfMinute(int second)
          Returns a copy of this datetime with the second of minute field updated.
 DateTime DateTime.withMillisOfSecond(int millis)
          Returns a copy of this datetime with the millis of second field updated.
 DateTime DateTime.withMillisOfDay(int millis)
          Returns a copy of this datetime with the millis of day field updated.
 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(java.lang.String text, java.util.Locale locale)
          Sets this field in a copy of the DateTime to a parsed text value.
 DateTime DateTime.Property.setCopy(java.lang.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.
 

Uses of DateTime in org.joda.time.base
 

Methods in org.joda.time.base that return DateTime
 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.
 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.
 

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(java.lang.String text)
          Parses a datetime from the given text, returning a new DateTime.
 



Copyright (c) 2001-2006 - Joda.org