org.nuxeo.ecm.automation.core.scripting
Class DateWrapper
java.lang.Object
org.nuxeo.ecm.automation.core.scripting.DateWrapper
public class DateWrapper
- extends java.lang.Object
- Author:
- Bogdan Stefanescu
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DateWrapper
public DateWrapper()
DateWrapper
public DateWrapper(java.util.Calendar date)
DateWrapper
public DateWrapper(java.util.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 java.util.Calendar getCalendar()
getDate
public java.util.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 java.lang.String format(java.lang.String format)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
toQueryString
public java.lang.String toQueryString()
main
public static void main(java.lang.String[] args)
Copyright © 2010 Nuxeo SAS. All Rights Reserved.