Interface ICalendar
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
Date
The date selected in the calendar.
DateTime Date { get; }
Property Value
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
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
dateDateTimeThe date to set.
SetDateRange(DateRange)
Selects the date range by DateRange object.
void SetDateRange(DateRange dateRange)
Parameters
dateRangeDateRangeThe 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
Remarks
The actual date range can be one full week or one full month.