Package com.saxonica.functions.extfn
Class TimestampFn
- java.lang.Object
-
- net.sf.saxon.functions.AbstractFunction
-
- net.sf.saxon.functions.SystemFunction
-
- com.saxonica.functions.extfn.TimestampFn
-
- All Implemented Interfaces:
Callable
,Function
,GroundedValue
,Item
,Sequence
public class TimestampFn extends SystemFunction
This class implements the saxon:timestamp() function which returns the date/time at the moment of execution
-
-
Constructor Summary
Constructors Constructor Description TimestampFn()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DateTimeValue
call(XPathContext context, Sequence[] arguments)
Evaluate this function call at run-time-
Methods inherited from class net.sf.saxon.functions.SystemFunction
dependsOnContextItem, dynamicCall, equals, export, exportAdditionalArguments, exportAttributes, fixArguments, getArity, getCardinality, getCompilerName, getContextNode, getDescription, getDetails, getErrorCodeForTypeErrors, getFunctionItemType, getFunctionName, getIntegerBounds, getNetCost, getOperandRoles, getRequiredType, getResultItemType, getResultItemType, getRetainedStaticContext, getSpecialProperties, getStaticBaseUriString, getStreamerName, getUniStringArg, hashCode, importAttributes, isSequenceVariadic, isTrustedResultType, makeCall, makeFunction, makeFunctionCall, makeOptimizedFunctionCall, resultIfEmpty, setArity, setDetails, setRetainedStaticContext, supplyTypeInformation, toShortString, toString, typeCheckCaller
-
Methods inherited from class net.sf.saxon.functions.AbstractFunction
atomize, deepEquals, effectiveBooleanValue, getAnnotations, getSerialNumber, getUnicodeStringValue, isArray, isMap, makeNewContext, simplify, typeCheck
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface net.sf.saxon.om.GroundedValue
asIterable, concatenate, containsNode, materialize
-
Methods inherited from interface net.sf.saxon.om.Item
getLength, getStringValue, head, isStreamed, itemAt, iterate, reduce, subsequence
-
Methods inherited from interface net.sf.saxon.om.Sequence
makeRepeatable
-
-
-
-
Method Detail
-
call
public DateTimeValue call(XPathContext context, Sequence[] arguments)
Evaluate this function call at run-time- Parameters:
context
- The XPath dynamic evaluation context. Not used in this casearguments
- The values of the arguments to the function call. In this case there are none.- Returns:
- the result of the function. This will have a timezone, specifically, the platform
default timezone. The returned value will be an instance of the built-in
subtype
xs:dateTimeStamp
-
-