ENTITY week_of_year_and_day_date
(* SCHEMA step_merged_ap_schema; *)
-- IN AP203e2/AP224/AP238 STEP-NC/AP242
ENTITY week_of_year_and_day_date
SUBTYPE OF (date);
week_component : week_in_year_number;
day_component : OPTIONAL day_in_week_number;
WHERE
WR1:
NOT leap_year(SELF\date.year_component) OR (1 <= day_component + 7 * (week_component - 1)) AND (day_component + 7 * (week_component - 1) <= 366);
wr2:
leap_year(SELF\date.year_component) OR (1 <= day_component + 7 * (week_component - 1)) AND (day_component + 7 * (week_component - 1) <= 365);
END_ENTITY;
Explicit Attributes
Entity week_of_year_and_day_date has the following local and inherited explicit attributes:
Derived Attributes
No derived attributes
Inverse Attributes
No Inverse AttributesSupertypes
Entity week_of_year_and_day_date inherits from the following supertypes:
date
Subtypes
No subtypesReferenced By
Entity week_of_year_and_day_date and its supertypes are referenced by the following definitions:
[Top Level Definitions] [Exit]Generated by STEP Tools® EXPRESS to HTML Converter
2020-07-28T17:02:19-04:00