Preparing search index...
The search index is not available
Waze Map Editor JavaScript SDK
Waze Map Editor JavaScript SDK
index
SDK
RestrictionTimeFrame
Class RestrictionTimeFrame
Index
Constructors
constructor
Methods
_is
On
Weekday
equals
get
End
Date
get
From
Time
get
Repeat
Yearly
get
Start
Date
get
To
Time
get
Weekdays
has
Days
Of
Month
Filtering
has
End
Date
has
Start
Date
is24
Seven
is
All
Day
is
All
Week
is
Date
Range
Before
is
During
Dates
is
On
Even
Days
Of
Month
is
On
Odd
Days
Of
Month
toJSON
with
get
Weekdays
Bit
Value
Constructors
constructor
new
RestrictionTimeFrame
(
__namedParameters
?:
TimeFrameAttributes
,
)
:
RestrictionTimeFrame
Parameters
__namedParameters
:
TimeFrameAttributes
= {}
Returns
RestrictionTimeFrame
Methods
_is
On
Weekday
_isOnWeekday
(
weekday
:
|
"SUNDAY"
|
"MONDAY"
|
"TUESDAY"
|
"WEDNESDAY"
|
"THURSDAY"
|
"FRIDAY"
|
"SATURDAY"
,
)
:
boolean
Parameters
weekday
:
|
"SUNDAY"
|
"MONDAY"
|
"TUESDAY"
|
"WEDNESDAY"
|
"THURSDAY"
|
"FRIDAY"
|
"SATURDAY"
Returns
boolean
equals
equals
(
timeFrame
:
RestrictionTimeFrame
)
:
boolean
Parameters
timeFrame
:
RestrictionTimeFrame
Returns
boolean
get
End
Date
getEndDate
()
:
null
|
string
Returns
null
|
string
get
From
Time
getFromTime
()
:
null
|
string
Returns
null
|
string
get
Repeat
Yearly
getRepeatYearly
()
:
null
|
boolean
Returns
null
|
boolean
get
Start
Date
getStartDate
()
:
null
|
string
Returns
null
|
string
get
To
Time
getToTime
()
:
null
|
string
Returns
null
|
string
get
Weekdays
getWeekdays
()
:
(
|
"SUNDAY"
|
"MONDAY"
|
"TUESDAY"
|
"WEDNESDAY"
|
"THURSDAY"
|
"FRIDAY"
|
"SATURDAY"
)
[]
Returns (
|
"SUNDAY"
|
"MONDAY"
|
"TUESDAY"
|
"WEDNESDAY"
|
"THURSDAY"
|
"FRIDAY"
|
"SATURDAY"
)
[]
has
Days
Of
Month
Filtering
hasDaysOfMonthFiltering
()
:
boolean
Returns
boolean
has
End
Date
hasEndDate
()
:
boolean
Returns
boolean
has
Start
Date
hasStartDate
()
:
boolean
Returns
boolean
is24
Seven
is24Seven
()
:
boolean
Returns
boolean
is
All
Day
isAllDay
()
:
boolean
Returns
boolean
is
All
Week
isAllWeek
()
:
boolean
Returns
boolean
is
Date
Range
Before
isDateRangeBefore
(
date
:
MomentInput
)
:
boolean
Parameters
date
:
MomentInput
Returns
boolean
is
During
Dates
isDuringDates
()
:
boolean
Returns
boolean
is
On
Even
Days
Of
Month
isOnEvenDaysOfMonth
()
:
boolean
Returns
boolean
is
On
Odd
Days
Of
Month
isOnOddDaysOfMonth
()
:
boolean
Returns
boolean
toJSON
toJSON
()
:
{
daysOfMonth
:
null
|
DAYS_OF_MONTH
;
endDate
:
null
|
string
;
fromTime
:
null
|
string
;
repeatYearly
:
null
|
boolean
;
startDate
:
null
|
string
;
timeZone
:
null
|
string
;
toTime
:
null
|
string
;
weekdays
:
null
|
number
;
}
Returns
{
daysOfMonth
:
null
|
DAYS_OF_MONTH
;
endDate
:
null
|
string
;
fromTime
:
null
|
string
;
repeatYearly
:
null
|
boolean
;
startDate
:
null
|
string
;
timeZone
:
null
|
string
;
toTime
:
null
|
string
;
weekdays
:
null
|
number
;
}
with
with
(
attributes
?:
TimeFrameAttributes
)
:
RestrictionTimeFrame
Parameters
attributes
:
TimeFrameAttributes
= {}
Returns
RestrictionTimeFrame
Static
get
Weekdays
Bit
Value
getWeekdaysBitValue
(
weekdays
?:
WEEKDAYS
[]
)
:
number
Parameters
weekdays
:
WEEKDAYS
[]
= []
Returns
number
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
_is
On
Weekday
equals
get
End
Date
get
From
Time
get
Repeat
Yearly
get
Start
Date
get
To
Time
get
Weekdays
has
Days
Of
Month
Filtering
has
End
Date
has
Start
Date
is24
Seven
is
All
Day
is
All
Week
is
Date
Range
Before
is
During
Dates
is
On
Even
Days
Of
Month
is
On
Odd
Days
Of
Month
toJSON
with
get
Weekdays
Bit
Value
Waze Map Editor JavaScript SDK
Loading...