Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.automation.core.scripting
Class DateWrapper

java.lang.Object
  extended by org.nuxeo.ecm.automation.core.scripting.DateWrapper

public class DateWrapper
extends Object

Author:
Bogdan Stefanescu

Constructor Summary
DateWrapper()
           
DateWrapper(Calendar date)
           
DateWrapper(Date date)
           
DateWrapper(long date)
           
 
Method Summary
 DateWrapper days(int days)
           
 String format(String format)
           
 Calendar getCalendar()
           
 Date getDate()
           
 int getDay()
           
 int getHour()
           
 int getMinute()
           
 int getMonth()
           
 int getSecond()
           
 long getTime()
           
 int getWeek()
           
 int getYear()
           
static void main(String[] args)
           
 DateWrapper months(int months)
           
 DateWrapper seconds(int seconds)
           
 String toQueryString()
           
 String toString()
           
 DateWrapper weeks(int weeks)
           
 DateWrapper years(int years)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DateWrapper

public DateWrapper()

DateWrapper

public DateWrapper(Calendar date)

DateWrapper

public DateWrapper(Date date)

DateWrapper

public DateWrapper(long date)
Method Detail

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)

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.