SmartFrog 3.10.000

org.smartfrog.sfcore.languages.sf.functions
Class Date

java.lang.Object
  extended by org.smartfrog.sfcore.languages.sf.functions.BaseFunction
      extended by org.smartfrog.sfcore.languages.sf.functions.Date
All Implemented Interfaces:
Function

public class Date
extends BaseFunction

Defines the Date function that returns a string representation of the current date and time.


Field Summary
 
Fields inherited from class org.smartfrog.sfcore.languages.sf.functions.BaseFunction
context, name
 
Constructor Summary
Date()
           
 
Method Summary
protected  java.lang.Object doFunction()
          Interface method.
 
Methods inherited from class org.smartfrog.sfcore.languages.sf.functions.BaseFunction
doit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Date

public Date()
Method Detail

doFunction

protected java.lang.Object doFunction()
Interface method. Returns the date and time. Currently this is in ctime() format Date.toString(); it will move to ISO8601/RFC3339 format with the next release

Specified by:
doFunction in class BaseFunction
Returns:
system date

SmartFrog CORE 3.10.000

(C) Copyright 1998-2006 Hewlett-Packard Development Company, LP