November Happy Hour will be moved to Thursday December 5th.

Class TimeOfDayModel

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Model class of TimeOfDay criterion

Inheritance
System.Object
TimeOfDayModel
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Personalization.VisitorGroups.Criteria
Assembly: EPiServer.Cms.AspNet.dll
Version: 11.20.7
Syntax
public class TimeOfDayModel : CriterionModelBase, ICriterionModel, IDynamicData

Constructors

TimeOfDayModel()

Declaration
public TimeOfDayModel()

Properties

EndTime

Gets or sets the end time.

Declaration
[DojoWidget(WidgetType = "dijit/form/TimeTextBox", LabelTranslationKey = "/shell/cms/visitorgroups/criteria/timeofday/endtime")]
public DateTime? EndTime { get; set; }
Property Value
Type Description
System.Nullable<System.DateTime>

The end time.

Friday

Gets or sets a value indicating whether this TimeOfDayModel is friday.

Declaration
[DojoWidget(LabelTranslationKey = "/shell/cms/visitorgroups/criteria/timeofday/friday")]
public bool Friday { get; set; }
Property Value
Type Description
System.Boolean

true if friday; otherwise, false.

Monday

Gets or sets a value indicating whether this TimeOfDayModel is monday.

Declaration
[DojoWidget(LabelTranslationKey = "/shell/cms/visitorgroups/criteria/timeofday/monday")]
public bool Monday { get; set; }
Property Value
Type Description
System.Boolean

true if monday; otherwise, false.

Saturday

Gets or sets a value indicating whether this TimeOfDayModel is saturday.

Declaration
[DojoWidget(LabelTranslationKey = "/shell/cms/visitorgroups/criteria/timeofday/saturday")]
public bool Saturday { get; set; }
Property Value
Type Description
System.Boolean

true if saturday; otherwise, false.

StartTime

Gets or sets the start time.

Declaration
[DojoWidget(WidgetType = "dijit/form/TimeTextBox", LabelTranslationKey = "/shell/cms/visitorgroups/criteria/timeofday/starttime")]
public DateTime? StartTime { get; set; }
Property Value
Type Description
System.Nullable<System.DateTime>

The start time.

Sunday

Gets or sets a value indicating whether this TimeOfDayModel is sunday.

Declaration
[DojoWidget(LabelTranslationKey = "/shell/cms/visitorgroups/criteria/timeofday/sunday")]
public bool Sunday { get; set; }
Property Value
Type Description
System.Boolean

true if sunday; otherwise, false.

Thursday

Gets or sets a value indicating whether this TimeOfDayModel is thursday.

Declaration
[DojoWidget(LabelTranslationKey = "/shell/cms/visitorgroups/criteria/timeofday/thursday")]
public bool Thursday { get; set; }
Property Value
Type Description
System.Boolean

true if thursday; otherwise, false.

Tuesday

Gets or sets a value indicating whether this TimeOfDayModel is tuesday.

Declaration
[DojoWidget(LabelTranslationKey = "/shell/cms/visitorgroups/criteria/timeofday/tuesday")]
public bool Tuesday { get; set; }
Property Value
Type Description
System.Boolean

true if tuesday; otherwise, false.

Wednesday

Gets or sets a value indicating whether this TimeOfDayModel is wednesday.

Declaration
[DojoWidget(LabelTranslationKey = "/shell/cms/visitorgroups/criteria/timeofday/wednesday")]
public bool Wednesday { get; set; }
Property Value
Type Description
System.Boolean

true if wednesday; otherwise, false.

Methods

Copy()

Creates a new object that is a copy of the current instance.

Declaration
public override ICriterionModel Copy()
Returns
Type Description
ICriterionModel

A new object that is a copy of this instance.

Overrides

Implements

Extension Methods