LogoLogo
Version 3
Version 3
  • Version 3
  • Welcome to Flying Logic 3
  • Flying Logic Resources
  • Recommended Reading
  • Flying Logic 3 User Guide
    • Getting Started
    • What's New
    • Reader Mode
    • The Document Window
    • Constructing Graphs
    • Graph Logic
    • Domains
    • Chart View
    • Scripting
    • Menus
    • Keyboard Shortcuts
    • Preferences
    • Project Management
  • Flying Logic 3 Scripting Guide
    • Getting Started
    • Online Resources
    • Predefined Variables
    • Classes
      • Application
      • CalendarEvent
      • Color
      • Date
      • Document
      • Domain
      • Edge
      • EntityClass
      • Entity
      • FontSpec
      • GraphElemFilter
      • GraphElem
      • GraphOperator
      • Group
      • Junctor
      • LayoutLine
      • Resource
      • Symbol
      • TextEditor
      • VertexElem
      • VertexOperator
      • Workweek
    • Constants
    • Graphic Symbol Names
    • Importer and Exporter Examples
    • Flying Logic Document Format
  • Thinking with Flying Logic
    • Part I: Introduction
    • About This Book
    • Keys to Great Thinking
    • Part II: The Theory of Constraints Thinking Processes
    • Overview of the Theory of Constraints
    • The Categories of Legitimate Reservation
    • Current Reality Tree
    • Evaporating Cloud: Conflict Resolution
    • Future Reality Tree
    • Prerequisite Tree
    • Transition Tree
    • Strategy & Tactics Tree
    • Part III: Other Techniques
    • Evidence-Based Analysis
    • Concept Maps
Powered by GitBook
On this page
  • Fields
  • Methods
  • Constants

Was this helpful?

  1. Flying Logic 3 Scripting Guide
  2. Classes

Workweek

PreviousVertexOperatorNextConstants

Last updated 1 year ago

Was this helpful?

The Workweek class represents the information about what the work schedule for project management calculations. The constructors are not accessible from scripts.

Fields

Field

Type

Description

calendarId

integer

Read only. An internal value assigned to each calendar, unique in each document. The standard calendar is always has a value of 1.

workdays

integer

The days of the week that are work days, as a bit field (see Workday Type below).

events

Read only. The exceptions to the work schedule.

Methods

init( workdays )

Creates a new Workweek with the given workdays with no work schedule exceptions.

init( workweek )

Creates a new Workweek which is a deep copy of given Workweek instance.

checkWorkDay( day )

Returns True if the given day is a regular work day for this Workweek, where day is one of the Workday values below.

checkWorkDay( date )

Returns True if the given date (a instance) would be a work day for this Workweek with exceptions considered.

addExceptionForDate( date )

Adds an exception to the work schedule for given date.

removeExceptionForDate( date )

Removes an exception to the work schedule for given date.

Constants

Workday Type

MONDAY_MASK
TUESDAY_MASK
WEDNESDAY_MASK
THURSDAY_MASK
FRIDAY_MASK
SATURDAY_MASK
SUNDAY_MASK
DEFAULT_WORKDAYS

Bit values for days of the week. DEFAULT_WORKDAYS is the same as the masks for Monday through Friday, OR'd together.

list of

Date
CalendarEvent