Class TimePeriodModel
Inheritance
System.Object
TimePeriodModel
Assembly: EPiServer.Cms.AspNetCore.dll
Version: 12.0.3
Syntax
[EPiServerDataStore(AutomaticallyRemapStore = true)]
public class TimePeriodModel : CriterionModelBase, ICriterionModel, IDynamicData
Constructors
TimePeriodModel()
Declaration
Properties
EndDate
Declaration
[CriterionPropertyEditor(LabelTranslationKey = "/shell/cms/visitorgroups/criteria/timeperiodcriterion/to", Order = 3, AdditionalPropsJson = "{ \"type\" : \"date\" }")]
public DateTime EndDate { get; set; }
Property Value
Type |
Description |
System.DateTime |
|
EndTime
Declaration
[CriterionPropertyEditor(Order = 4, AdditionalPropsJson = "{ \"type\" : \"time\" }")]
public DateTime EndTime { get; set; }
Property Value
Type |
Description |
System.DateTime |
|
Id
Declaration
[Ignore]
public override Identity Id { get; set; }
Property Value
Overrides
StartDate
Declaration
[CriterionPropertyEditor(LabelTranslationKey = "/shell/cms/visitorgroups/criteria/timeperiodcriterion/from", Order = 1, AdditionalPropsJson = "{ \"type\" : \"date\" }")]
public DateTime StartDate { get; set; }
Property Value
Type |
Description |
System.DateTime |
|
StartTime
Declaration
[CriterionPropertyEditor(Order = 2, AdditionalPropsJson = "{ \"type\" : \"time\" }")]
public DateTime StartTime { get; set; }
Property Value
Type |
Description |
System.DateTime |
|
TimeZoneOffset
Declaration
[CriterionPropertyEditor(LabelTranslationKey = "/shell/cms/visitorgroups/criteria/timeperiodcriterion/utctimezone", Order = 5, SelectionFactoryType = null)]
public string TimeZoneOffset { get; set; }
Property Value
Type |
Description |
System.String |
|
Methods
Copy()
Declaration
public override ICriterionModel Copy()
Returns
Overrides
Implements
Extension Methods