ProgramixGenericLib v5.0.1

Uses of Class
com.programix.time.PlainDate

Packages that use PlainDate
com.programix.time Various containers and tools for dealing with dates and times (including parsing and formatting). 
com.programix.value The Value framework for encapsulating "values" generically in a way that they can be coerced into other types. 
 

Uses of PlainDate in com.programix.time
 

Fields in com.programix.time declared as PlainDate
static PlainDate PlainDateRange.OPEN
          This constant can be used to specify that either the start or end of of the range is "open" (that is, it is not defined and can be considered to stretch out to infinity).
 

Methods in com.programix.time that return PlainDate
 PlainDate PlainDate.addDays(int offset)
          Returns a new PlainDate offset from this instance by the specified number of days.
static PlainDate DateTools.addDays(PlainDate startDate, int numberOfDays)
          Adds the specified number of days to the specified startDate.
 PlainDate PlainDate.addDaysUntil(DayOfWeek targetDayOfWeek)
          Adds days (as needed) to roll this PlainDate forward until the specified targetDayOfWeek is matched.
static PlainDate DateTools.addDaysUntil(PlainDate startDate, DayOfWeek targetDayOfWeek)
          Adds days (as needed) to roll the specified startDate forward until the specified targetDayOfWeek is matched.
 PlainDate PlainDate.addMonths(int offset)
          Returns a new PlainDate offset from this instance by the specified number of months.
static PlainDate DateTools.addMonths(PlainDate startDate, int numberOfMonths)
          Adds the specified number of months to the specified startDate.
 PlainDate PlainDate.addWeeks(int offset)
          Returns a new PlainDate offset from this instance by the specified number of weeks.
static PlainDate DateTools.addWeeks(PlainDate startDate, int numberOfWeeks)
          Adds the specified number of weeks to the specified startDate.
 PlainDate PlainDate.addYears(int offset)
          Returns a new PlainDate offset from this instance by the specified number of years.
static PlainDate DateTools.addYears(PlainDate startDate, int numberOfYears)
          Adds the specified number of years to the specified startDate.
static PlainDate PlainDate.create(int year, int month, int day)
          Returns an instance of PlainDate for the specified year, month, and day.
static PlainDate PlainDate.create(String dateStr)
          Creates an instance by parsing the passed String into a year, month, and day according to the specification stated below.
static PlainDate PlainDate.createToday(TimeZone tz)
          Creates an instance for today in the specified time zone.
static PlainDate PlainDate.createTodayLocal()
          Creates an instance for today in the local VM time zone.
static PlainDate PlainDate.createTodayUTC()
          Creates an instance for today in the UTC time zone.
static PlainDate PlainDate.createTomorrow(TimeZone tz)
          Creates an instance for tomorrow in the specified time zone.
static PlainDate PlainDate.createTomorrowLocal()
          Creates an instance for tomorrow in the local VM time zone.
static PlainDate PlainDate.createTomorrowUTC()
          Creates an instance for tomorrow in the UTC time zone.
static PlainDate PlainDate.createYesterday(TimeZone tz)
          Creates an instance for yesterday in the specified time zone.
static PlainDate PlainDate.createYesterdayLocal()
          Creates an instance for yesterday in the local VM time zone.
static PlainDate PlainDate.createYesterdayUTC()
          Creates an instance for yesterday in the UTC time zone.
 PlainDate PlainDateRange.forceIntoRange(PlainDate value)
          Forces the specified PlainDate into this range.
 PlainDate PlainDateRange.getEnd()
          Returns the end of this range.
 PlainDate PlainDate.getFirstDayOfCurrentMonth()
          Returns a new PlainDate for the first day of the month for this instance's year and month.
 PlainDate PlainDate.getLastDayOfCurrentMonth()
          Returns a new PlainDate for the last day of the month for this instance's year and month.
static PlainDate DateTools.getPlainDate(DateTime dateTime, TimeZone tz)
          Returns the specified moment in time as a PlainDate interpreted in the specified timezone.
static PlainDate DateTools.getPlainDateLocal(DateTime dateTime)
          Returns the specified moment in time as a PlainDate interpreted in the local VM timezone.
static PlainDate DateTools.getPlainDateUTC(DateTime dateTime)
          Returns the specified moment in time as a PlainDate interpreted in the UTC timezone.
 PlainDate PlainDateRange.getStart()
          Returns the start of this range.
static PlainDate DateTools.parsePlainDate(String dateStr)
          Attempts to interpret the string passed in as a PlainDate.
static PlainDate DateTools.parsePlainDateIgnoreEmpty(String dateStr)
          Returns a PlainDate parsed from the specified dateStr or null if dateStr is empty.
 PlainDate PlainDate.subtractDaysUntil(DayOfWeek targetDayOfWeek)
          Subtracts days (as needed) to roll this PlainDate backward until the specified targetDayOfWeek is matched.
static PlainDate DateTools.subtractDaysUntil(PlainDate startDate, DayOfWeek targetDayOfWeek)
          Subtracts days (as needed) to roll the specified startDate backward until the specified targetDayOfWeek is matched.
 PlainDate DateTime.toPlainDate(TimeZone tz)
          Returns a PlainDate derived from the time stored in this instance interpreted in the specified time zone.
 PlainDate DateTime.toPlainDateLocal()
          Returns a PlainDate derived from the time stored in this instance interpreted in the local VM time zone.
 PlainDate DateTime.toPlainDateUTC()
          Returns a PlainDate derived from the time stored in this instance interpreted in the UTC time zone.
 

Methods in com.programix.time with parameters of type PlainDate
static PlainDate DateTools.addDays(PlainDate startDate, int numberOfDays)
          Adds the specified number of days to the specified startDate.
static PlainDate DateTools.addDaysUntil(PlainDate startDate, DayOfWeek targetDayOfWeek)
          Adds days (as needed) to roll the specified startDate forward until the specified targetDayOfWeek is matched.
static PlainDate DateTools.addMonths(PlainDate startDate, int numberOfMonths)
          Adds the specified number of months to the specified startDate.
static PlainDate DateTools.addWeeks(PlainDate startDate, int numberOfWeeks)
          Adds the specified number of weeks to the specified startDate.
static PlainDate DateTools.addYears(PlainDate startDate, int numberOfYears)
          Adds the specified number of years to the specified startDate.
 boolean PlainDate.after(PlainDate otherPlainDate)
          Returns true if the this instance's date comes after the date passed as a parameter.
 boolean PlainDate.afterOrEqualTo(PlainDate otherPlainDate)
          Returns true if the this instance's date comes after or is the same as the date passed as a parameter.
 boolean PlainDate.before(PlainDate otherPlainDate)
          Returns true if the this instance's date comes before the date passed as a parameter.
 boolean PlainDate.beforeOrEqualTo(PlainDate otherPlainDate)
          Returns true if the this instance's date comes before or is the same as the date passed as a parameter.
 int PlainDate.compareTo(PlainDate otherPlainDate)
          Returns -1 if this instance's date comes before the passed date, 0 if they are the same, and -1 if the passed date comes after.
 boolean PlainDateRange.contains(PlainDate plainDate)
          Returns true if the specified PlainDate falls within this range (inclusive of both endpoints).
static PlainDateRange PlainDateRange.createWithOpenEnd(PlainDate start)
          Creates a new instance with an open end date and the specified start date.
static PlainDateRange PlainDateRange.createWithOpenStart(PlainDate end)
          Creates a new instance with an open start and the specified end date.
 boolean PlainDate.equals(PlainDate other)
           
 PlainDate PlainDateRange.forceIntoRange(PlainDate value)
          Forces the specified PlainDate into this range.
 int PlainDate.getYearsBefore(PlainDate otherPlainDate)
          Returns the integer number of years that this date is before the specified otherPlainDate.
 PlainDateRange PlainDateRange.setEnd(PlainDate newEnd)
          Returns a new instance with the specified newEnd date and this instance's start date.
 PlainDateRange PlainDateRange.setStart(PlainDate newStart)
          Returns a new instance with the specified newStart date and this instance's end date.
static PlainDate DateTools.subtractDaysUntil(PlainDate startDate, DayOfWeek targetDayOfWeek)
          Subtracts days (as needed) to roll the specified startDate backward until the specified targetDayOfWeek is matched.
 

Constructors in com.programix.time with parameters of type PlainDate
PlainDateRange(PlainDate start, PlainDate end)
          Creates a new instance with the specified start and end dates.
 

Uses of PlainDate in com.programix.value
 

Methods in com.programix.value that return PlainDate
 PlainDate AbstractValue.getPlainDate()
           
 PlainDate Value.getPlainDate()
          Returns the encapsulated value interpreted as a PlainDate.
 PlainDate ValueMap.getPlainDate(String key)
          Returns the value stored under the specified required key as a PlainDate.
 PlainDate ValueMap.getPlainDate(String key, PlainDate defaultValue)
          Returns the value stored under the specified optional key as a PlainDate.
 PlainDate AbstractValue.getPlainDateOrNull()
           
 PlainDate Value.getPlainDateOrNull()
          Returns the result as a PlainDate or null if the value is empty.
 

Methods in com.programix.value with parameters of type PlainDate
static Value ValueFactory.create(PlainDate plainDate)
          Creates a instance encapsulating the specified PlainDate value.
 PlainDate ValueMap.getPlainDate(String key, PlainDate defaultValue)
          Returns the value stored under the specified optional key as a PlainDate.
 


ProgramixGenericLib v5.0.1

Copyright © 2001-2009 Programix Incorporated. All rights reserved. ProgramixGenericLib is free and is OSI Certified Open Source Software under the BSD license.