org.apache.myfaces.tobago.model
Class DateModel

java.lang.Object
  extended by org.apache.myfaces.tobago.model.DateModel

public class DateModel
extends Object


Constructor Summary
DateModel(Calendar calendar)
           
DateModel(int year, int month, int day)
           
 
Method Summary
 Calendar getCalendar()
           
 Calendar getCalendar(Locale locale)
           
 int getDay()
           
 int getMonth()
           
 int getYear()
           
 void setDay(int day)
           
 void setMonth(int month)
           
 void setYear(int year)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DateModel

public DateModel(int year,
                 int month,
                 int day)

DateModel

public DateModel(Calendar calendar)
Method Detail

getYear

public int getYear()

setYear

public void setYear(int year)

getMonth

public int getMonth()

setMonth

public void setMonth(int month)

getDay

public int getDay()

setDay

public void setDay(int day)

getCalendar

public Calendar getCalendar()

getCalendar

public Calendar getCalendar(Locale locale)


Copyright © 2002-2014 The Apache Software Foundation. All Rights Reserved.