Class NowClosure
java.lang.Object
groovy.lang.GroovyObjectSupport
groovy.lang.Closure<de.uplanet.lucy.server.scripting.ChimeraDate>
de.uplanet.lucy.server.scripting.groovy.NowClosure
- All Implemented Interfaces:
groovy.lang.GroovyCallable<de.uplanet.lucy.server.scripting.ChimeraDate>,groovy.lang.GroovyObject,Serializable,Cloneable,Runnable,Callable<de.uplanet.lucy.server.scripting.ChimeraDate>
@Scriptable
public final class NowClosure
extends groovy.lang.Closure<de.uplanet.lucy.server.scripting.ChimeraDate>
- See Also:
-
Field Summary
Fields inherited from class groovy.lang.Closure
DELEGATE_FIRST, DELEGATE_ONLY, DONE, IDENTITY, OWNER_FIRST, OWNER_ONLY, SKIP, TO_SELF -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionde.uplanet.lucy.server.scripting.ChimeraDatecall()Get the current date as both ajava.sql.Timestampand as a.IDateTimeValueHolderdoCall()intMethods inherited from class groovy.lang.Closure
andThen, andThenSelf, andThenSelf, asWritable, call, call, clone, compose, composeSelf, composeSelf, curry, curry, dehydrate, getDelegate, getDirective, getOwner, getParameterTypes, getProperty, getResolveStrategy, getThisObject, isCase, leftShift, leftShift, memoize, memoizeAtLeast, memoizeAtMost, memoizeBetween, ncurry, ncurry, rcurry, rcurry, rehydrate, rightShift, run, setDelegate, setDirective, setProperty, setResolveStrategy, trampoline, trampolineMethods inherited from class groovy.lang.GroovyObjectSupport
getMetaClass, setMetaClassMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface groovy.lang.GroovyObject
invokeMethod
-
Constructor Details
-
NowClosure
public NowClosure()
-
-
Method Details
-
call
public de.uplanet.lucy.server.scripting.ChimeraDate call()Get the current date as both ajava.sql.Timestampand as a.IDateTimeValueHolder -
doCall
-
getMaximumNumberOfParameters
public int getMaximumNumberOfParameters()- Overrides:
getMaximumNumberOfParametersin classgroovy.lang.Closure<de.uplanet.lucy.server.scripting.ChimeraDate>- Returns:
- Always
0.
-