public class CurrentDateMemberUdf extends Object implements UserDefinedFunction
CurrentDateMember.  Arguments to the
 function are as follows:
 
 
 CurrentDateMember(<Hierarchy>, <FormatString>[, <Find>)
 returns <Member>
 
 
 The function returns the member from the specified hierarchy that matches
 the current date, to the granularity specified by the <FormatString>.
 The format string conforms to the format string implemented by
 Format.UserDefinedFunction.Argument| Constructor and Description | 
|---|
CurrentDateMemberUdf()  | 
| Modifier and Type | Method and Description | 
|---|---|
Object | 
execute(Evaluator evaluator,
       UserDefinedFunction.Argument[] arguments)
Applies this function to a set of arguments, and returns a result. 
 | 
(package private) Date | 
getDate(Evaluator evaluator,
       UserDefinedFunction.Argument[] arguments)  | 
String | 
getDescription()
Returns a description of the user-defined function. 
 | 
String | 
getName()
Returns the name with which the user-defined function will be used
 from within MDX expressions. 
 | 
Type[] | 
getParameterTypes()
Returns an array of the types of the parameters of this function. 
 | 
String[] | 
getReservedWords()
Returns a list of reserved words used by this function. 
 | 
Type | 
getReturnType(Type[] parameterTypes)
Returns the return-type of this function. 
 | 
Syntax | 
getSyntax()
Returns the syntactic type of the user-defined function. 
 | 
public Object execute(Evaluator evaluator, UserDefinedFunction.Argument[] arguments)
UserDefinedFunctionexecute in interface UserDefinedFunctionevaluator - Evaluator containts the runtime context, in particular
   the current member of each dimension.arguments - Expressions which yield the arguments of this function.
   Most user-defined functions will evaluate all arguments before using
   them. Functions such as IIf do not evaluate all
   arguments; this technique is called lazy evaluation.Date getDate(Evaluator evaluator, UserDefinedFunction.Argument[] arguments)
public String getDescription()
UserDefinedFunctiongetDescription in interface UserDefinedFunctionpublic String getName()
UserDefinedFunctiongetName in interface UserDefinedFunctionpublic Type[] getParameterTypes()
UserDefinedFunctiongetParameterTypes in interface UserDefinedFunctionpublic String[] getReservedWords()
UserDefinedFunctiongetReservedWords in interface UserDefinedFunctionpublic Type getReturnType(Type[] parameterTypes)
UserDefinedFunctiongetReturnType in interface UserDefinedFunctionparameterTypes - Parameter typespublic Syntax getSyntax()
UserDefinedFunctionSyntax.Function.getSyntax in interface UserDefinedFunction