Class TimestampFn

All Implemented Interfaces:
Callable, FunctionItem, 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 Details

    • TimestampFn

      public TimestampFn()
  • Method Details

    • 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 case
      arguments - 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