Interface ICalendar
A Java calendar.
Inherited Members
Namespace: HP.LFT.SDK.Java
Assembly: HP.LFT.SDK.dll
Syntax
public interface ICalendar : IUiObjectBase, IClickable, IDoubleClickable, ILocationInfoProvider, ISupportsNativeObject, IEnabledProvider, IVisibleProvider, ITestObject, ITestObjectDescriber
Properties
Date
Returns the date selected.
Declaration
DateTime Date { get; }
Property Value
| Type | Description |
|---|---|
| DateTime |
Style
Returns the style of the calendar.
Possible values: CalendarStyle
Declaration
CalendarStyle Style { get; }
Property Value
| Type | Description |
|---|---|
| CalendarStyle |
Time
Returns the time selected.
Declaration
TimeSpan Time { get; }
Property Value
| Type | Description |
|---|---|
| TimeSpan |
Value
Returns the value set in the calendar in string format.
Declaration
string Value { get; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
SetDate(DateTime)
Sets the date.
Declaration
void SetDate(DateTime date)
Parameters
| Type | Name | Description |
|---|---|---|
| DateTime | date | The date. |
SetTime(TimeSpan)
Sets the time.
Declaration
void SetTime(TimeSpan time)
Parameters
| Type | Name | Description |
|---|---|---|
| TimeSpan | time | The time. |