ComponentOne True DBInput Pro 8.0
TDBHolidayX Object

 

Reference> TDBHolidayX Object

TDBHolidayX Object

TDBHolidayX Object Properties

 

HolidayStyles

Returns a collection of holiday styles.

StartOfWeek

Sets/returns the begin of a week.

UseStyles

Sets/returns the holiday styles to use when processing the holidays.

Value

The Value property returns or sets the date to process.

ValueIsNull

Returns whether the Value property is set to NULL.

ValueType

Returns the day type for date set in the Value property.

Version

Returns the version number of the object currently loaded in memory.

WeekRests

Sets/returns the weeks in weekdays that will be treated as weekends.

 

TDBHolidayX Object Methods

 

AboutBox

Displays the About box for the control.

AdjustDate

Adjusts a weekend or holiday to a working day.

DatesInRange

Retrieves the actual dates of workdays, and so on within the specified range.

DaysFromNow

Retrieves the date that is x number of days from a specified date.

DaysInRange

Retrieves the number of workdays, and so on within the specified range.

FirstInMonth

Retrieves the first day in the specified month.

FirstInWeek

Retrieves the first day in the specified week.

FirstInYear

Retrieves the first day in the specified year.

IsDateInStyle

Checks to see if a date exists in any of the holiday styles.

LastInMonth

Retrieves the last day in the specified month.

LastInWeek

Retrieves the last day in the specified week.

LastInYear

Retrieves the last day in the specified year.

NextDay

Retrieves the next day.

PrevDay

Retrieves the previous day.


TDBHolidayX Object Properties

TDBHolidayX Object Methods

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback