JAMS Developer Guide
Evaluate Method (IDateWCF)


MVPSI.JAMS Namespace > IDateWCF Interface : Evaluate Method
The natural language date specification.
The date that should be considered "today" when evaluating the date specification.
The start date to be used for interval date specifications
Evaluates a natural language date specification.
Syntax
'Declaration
 
<System.ServiceModel.OperationContractAttribute()>
<System.ServiceModel.FaultContractAttribute(DetailType=MVPSI.JAMS.JAMSException, 
   Action="", 
   Name="", 
   Namespace="", 
   ProtectionLevel=ProtectionLevel.None, 
   HasProtectionLevel=False)>
Function Evaluate( _
   ByVal dateString As System.String, _
   ByVal today As System.Date, _
   ByVal startDate As System.Date _
) As System.Threading.Tasks.Task(Of Date)
'Usage
 
Dim instance As IDateWCF
Dim dateString As System.String
Dim today As System.Date
Dim startDate As System.Date
Dim value As System.Threading.Tasks.Task(Of Date)
 
value = instance.Evaluate(dateString, today, startDate)
[System.ServiceModel.OperationContract()]
[System.ServiceModel.FaultContract(DetailType=MVPSI.JAMS.JAMSException, 
   Action="", 
   Name="", 
   Namespace="", 
   ProtectionLevel=ProtectionLevel.None, 
   HasProtectionLevel=false)]
System.Threading.Tasks.Task<DateTime> Evaluate( 
   System.string dateString,
   System.DateTime today,
   System.DateTime startDate
)

Parameters

dateString
The natural language date specification.
today
The date that should be considered "today" when evaluating the date specification.
startDate
The start date to be used for interval date specifications

Return Value

The date that the specification represents.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

IDateWCF Interface
IDateWCF Members