Class DateTimePicker
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.CloudSearch.v1.Data
Assembly: Google.Apis.CloudSearch.v1.dll
Syntax
public class DateTimePicker : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Label
The label for the field, which is displayed to the user.
Declaration
[JsonProperty("label")]
public virtual string Label { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Name
The name of the text field which is used in FormInput, and uniquely identifies this input.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
OnChange
Triggered when the user clicks on the Save, or Clear button from the date / time picker dialog. Will only be triggered if the value changed as a result of the Save / Clear operation.
Declaration
[JsonProperty("onChange")]
public virtual FormAction OnChange { get; set; }
Property Value
| Type | Description |
|---|---|
| FormAction |
TimezoneOffsetDate
The number representing the time-zone offset from UTC, in minutes. If set, the value_ms_epoch will be displayed in the specified time zone. If not set, it will use the user's timezone setting in client side.
Declaration
[JsonProperty("timezoneOffsetDate")]
public virtual int? TimezoneOffsetDate { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
Type
The type of the DateTimePicker.
Declaration
[JsonProperty("type")]
public virtual string Type { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
ValueMsEpoch
The value to display which can be the default value before user input or previous user input. It is represented in milliseconds (Epoch time). - For DATE_AND_TIME type, the full epoch value is used. - For DATE_ONLY type, only date of the epoch time is used. - For TIME_ONLY type, only time of the epoch time is used. For example, you can set epoch time to 3 * 60 * 60 * 1000 to represent 3am.
Declaration
[JsonProperty("valueMsEpoch")]
public virtual long? ValueMsEpoch { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int64> |