Namespace: Consultingwerk.Framework.ExpressionParser
Class 
WeekdayValueProvider Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Implements: Consultingwerk.Framework.ExpressionParser.ILogicalValueProvider

File:WeekdayValueProvider
Purpose:Logical Value Provider that compares the provided character
Value against a list of weekday names (Monday - Sunday)
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Sat Jun 21 10:53:31 CEST 2014



Top Method Summary
Options Name Purpose
+ LOGICAL GetLogicalValue (character) Parses a CHARACTER Expression and returns the logical result

Top Constructor Summary
Options Name Purpose
+ WeekdayValueProvider () Constructor for the WeekdayValueProvider class
+ WeekdayValueProvider (character) Constructor for the WeekdayValueProvider class
+ WeekdayValueProvider (date) Constructor for the WeekdayValueProvider class
+ WeekdayValueProvider (date, character) Constructor for the WeekdayValueProvider class

Top Property Summary
Options Name Purpose
+ CHARACTER DayNames
+ DATE ReferenceDate


Method Detail
Top

PUBLIC LOGICAL GetLogicalValue (character)

Purpose: Parses a CHARACTER Expression and returns the logical result
Notes: Returns true when the RefenceDate is on the given weekday

Parameters:
pcExpression CHARACTER
The Character expression to parse
Returns LOGICAL
The logical result of the expressioln


Constructor Detail
Top

PUBLIC WeekdayValueProvider ()

Purpose: Constructor for the WeekdayValueProvider class
Notes:

Top

PUBLIC WeekdayValueProvider (character)

Purpose: Constructor for the WeekdayValueProvider class
Notes:

Parameters:
pcDayNames CHARACTER
The comma delimited list of day names
Top

PUBLIC WeekdayValueProvider (date)

Purpose: Constructor for the WeekdayValueProvider class
Notes:

Parameters:
pdtReferenceDate DATE
The reference date
Top

PUBLIC WeekdayValueProvider (date, character)

Purpose: Constructor for the WeekdayValueProvider class
Notes:

Parameters:
pdtReferenceDate DATE
The reference date
pcDayNames CHARACTER
The comma delimited list of day names


Property Detail
Top

PUBLIC CHARACTER DayNames


Returns CHARACTER
Top

PUBLIC DATE ReferenceDate


Returns DATE


©2006-2019 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       08.08.2019 23:26:40