JAMS Developer Guide
WorkDay Property


MVPSI.JAMS Namespace > DateDetail Class : WorkDay Property
Get or set the WorkDay Property. You have three options for this property: True, False, or Not Specified. When JAMS needs to know if a date is a workday, first it looks at the date definitions for the date in question. If it finds one with either a True or False in this property, it stops checking and has the answer. If none of the date definitions for this date specify True or False (or there are no definitions for this date), then JAMS checks the configuration to see if the day of the week on which this date falls is normally a workday.

Not Specified is generally the right setting unless one of the reasons for creating the date definition is to change the workday status. Be careful because if you create two definitions for the same date, one that says this is a workday and one that says this is not a workday, JAMS will stop checking when it finds the first definition.

Syntax
'Declaration
 
<System.ComponentModel.DefaultValueAttribute()>
<System.Xml.Serialization.XmlAttributeAttribute()>
Public Property WorkDay As TriState
'Usage
 
Dim instance As DateDetail
Dim value As TriState
 
instance.WorkDay = value
 
value = instance.WorkDay
[System.ComponentModel.DefaultValue()]
[System.Xml.Serialization.XmlAttribute()]
public TriState WorkDay {get; set;}
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

DateDetail Class
DateDetail Members