Class TimezoneCollectionBuilder
A builder class that holds time zone collections.
Inheritance
Inherited Members
Namespace: Syncfusion.JavaScript
Assembly: Syncfusion.EJ.dll
Syntax
public class TimezoneCollectionBuilder
Constructors
TimezoneCollectionBuilder(TimezoneCollection)
Initializes a new instance of the TimezoneCollectionBuilder class to indicate the time zone collection options.
Declaration
public TimezoneCollectionBuilder(TimezoneCollection options)
Parameters
Type | Name | Description |
---|---|---|
TimezoneCollection | options | It accepts the TimezoneCollection object. |
Methods
Datasource(DataSource)
This field stores the DataManager instance that contains the timezone data.
Declaration
public TimezoneCollectionBuilder Datasource(DataSource dataSource)
Parameters
Type | Name | Description |
---|---|---|
DataSource | dataSource | It accepts the DataManager instance that contains the timezone data. |
Returns
Type | Description |
---|---|
TimezoneCollectionBuilder |
Datasource(Action<DataSourceBuilder>)
It stores the JSON object collection that contains the timezone data.
Declaration
public TimezoneCollectionBuilder Datasource(Action<DataSourceBuilder> dataSource)
Parameters
Type | Name | Description |
---|---|---|
System.Action<DataSourceBuilder> | dataSource | It accepts the JSON object collection that contains the timezone data. |
Returns
Type | Description |
---|---|
TimezoneCollectionBuilder |
Datasource(IEnumerable)
This field stores the JSON object collection that contains the timezone data.
Declaration
public TimezoneCollectionBuilder Datasource(IEnumerable dataSource)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.IEnumerable | dataSource | It accepts the JSON object collection that contains the timezone data. |
Returns
Type | Description |
---|---|
TimezoneCollectionBuilder |
Datasource(String)
This field stores the timezone data URL.
Declaration
public TimezoneCollectionBuilder Datasource(string dataURL)
Parameters
Type | Name | Description |
---|---|---|
System.String | dataURL | It accepts the timezone data URL. |
Returns
Type | Description |
---|---|
TimezoneCollectionBuilder |
Id(String)
This field stores the timezone id value.
Declaration
public TimezoneCollectionBuilder Id(string id)
Parameters
Type | Name | Description |
---|---|---|
System.String | id | It accepts the timezone id value. |
Returns
Type | Description |
---|---|
TimezoneCollectionBuilder |
Text(String)
This field stores the timezone name value.
Declaration
public TimezoneCollectionBuilder Text(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | It accepts the timezone name value. |
Returns
Type | Description |
---|---|
TimezoneCollectionBuilder |
Value(String)
This field stores the timezone value.
Declaration
public TimezoneCollectionBuilder Value(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | It accepts the timezone value. |
Returns
Type | Description |
---|---|
TimezoneCollectionBuilder |