Using this function we can change the name assigned to the hours of the day to designate the parts of the day.
Arguments
- td
A
when
object.- hour
A number, hour number (between 0 and 23).
- name
a string, name of the part of the day.
See also
Other dimension definition:
define_characteristics()
,
define_instances()
,
get_attribute_definition_function()
,
get_day_part()
,
get_week_date_range()
,
select_date_levels()
,
select_day_level()
,
select_month_level()
,
select_quarter_level()
,
select_semester_level()
,
select_time_level()
,
select_week_level()
,
select_year_level()
,
set_attribute_definition_function()
,
when()