Table of Contents

Interface ICalendar

Namespace
HP.LFT.SDK.SAP.GUI
Assembly
HP.LFT.SDK.dll

A calendar control in a SAP GUI for Windows application.

public interface ICalendar : IElement, ITestObject, ITestObjectDescriber, ILocationInfoProvider, ISupportsNativeObject, IEnabledProvider
Inherited Members
Extension Methods

Properties

AttachedText

The static text attached to the calendar.

string AttachedText { get; }

Property Value

string

Date

The date selected in the calendar.

DateTime Date { get; }

Property Value

DateTime

Remarks

If a date range is selected, the Date property is the start date of the range.

DateRange

The range of dates selected in the calendar.

DateRange DateRange { get; }

Property Value

DateRange

Remarks

If a single date is selected, both DateRange.StartDate and DateRange.EndDate are the selected date.

Methods

SetDate(DateTime)

Sets the date of the calendar.

void SetDate(DateTime date)

Parameters

date DateTime

The date to set.

SetDateRange(DateRange)

Selects the date range by DateRange object.

void SetDateRange(DateRange dateRange)

Parameters

dateRange DateRange

The date range to set.

Remarks

The actual date range can be one full week or one full month.

SetDateRange(DateTime, DateTime)

Selects the date range by start and end date.

void SetDateRange(DateTime firstDate, DateTime lastDate)

Parameters

firstDate DateTime

The start date.

lastDate DateTime

The end date.

Remarks

The actual date range can be one full week or one full month.