org.nuxeo.ecm.automation.core.scripting
Class DateWrapper
java.lang.Object
org.nuxeo.ecm.automation.core.scripting.DateWrapper
public class DateWrapper
- extends Object
- Author:
- Bogdan Stefanescu
DateWrapper
public DateWrapper()
DateWrapper
public DateWrapper(Calendar date)
DateWrapper
public DateWrapper(Date date)
DateWrapper
public DateWrapper(long date)
months
public DateWrapper months(int months)
days
public DateWrapper days(int days)
years
public DateWrapper years(int years)
seconds
public DateWrapper seconds(int seconds)
weeks
public DateWrapper weeks(int weeks)
getCalendar
public Calendar getCalendar()
getDate
public Date getDate()
getTime
public long getTime()
getYear
public int getYear()
getMonth
public int getMonth()
getDay
public int getDay()
getMinute
public int getMinute()
getHour
public int getHour()
getSecond
public int getSecond()
getWeek
public int getWeek()
format
public String format(String format)
toString
public String toString()
- Overrides:
toString
in class Object
toQueryString
public String toQueryString()
main
public static void main(String[] args)
Copyright © 2011 Nuxeo SAS. All Rights Reserved.