ГОСТ Р 55346—2012
(* The hourcomponent specifies the time in a day in hours.<p>The value of the hour_component shall be in the range
0-23.</p> *)
hour_component: INTEGER:
(* The minute_component specifies the time within an hour in minutes.<p>The value of the minute_component shall be
in the range 0-59.</p> *)
minute_component: INTEGER;
(* The month_component specifies the Date_time within a year in months.<p>The value of the month component shall
be in the range 1-12.</p> ’)
month_component: INTEGER;
(* The second_component specifies the time within a minute in seconds.<p>The value of the second_component shall
be in the range 0-59. </p> *)
second_component: INTEGER:
(* The year_component specifies the year part of a Date_time.<p>The year_component shall be given with all valid
digits.</p><example number=*5">The year 1999 shall be represented as the integer *1999".</example> *)
year_component: INTEGER;
WHERE
WR1; {0 <= hour_component <= 23};
WR2: {0 <= minute_component <= 59};
WR3: {0 <= second_component <= 59};
WR4: {1 <= month_component <= 12};
WR5: {1 <= day_component <= 31};
WR6: year_component >= 0;
END_ENTITY:
(*A Derived_data_type_definition is type of User_defined_data_type_definition whose value is calculated from DataJn-
stance and or Data_field values.’)
ENTITY derived_data_type_definition
SUBTYPE OF (user_defined_data_type_definition):
(* The expression specifies the algorithm for deriving the value of an instance of a Derived_data_type_definition.
<note>The syntax for specifying the algorithm for deriving the value of a expression is not defined.</note><example
number=’6*>To avoid redundancy in a database design and to keep the data up-to-date, the age field is calculated from
the global value today and the field date of birth, age = today - date_of_birth.</example> *)
expression: text_select;
(* The resultant_data_type specifies the expected type of the result of the expression based on the types of the values
involved in the expression. *)
resultant_data_type: data_type_definition_select:
END_ENTITY:
(*A Digital_document is a type of Documentation_reference and a reference to a document in some digital format. “)
ENTITY digital_document
SUBTYPE OF (documentation reference);
(* The documentjormat specifies the format (for example: MSWord. PDF. HTML) of the digital document. “)
document_format: OPTIONAL label;
(* The document_size specifies the size of a digital document. *)
document_size : OPTIONAL label;
(* The location specifies the location (for example: file structure. URL) from where the digital document can be obtained.
*>
location : label:
END_ENTITY:
(*A Document_assignment is the assignment of a Documentation_reference to an element of systems engineering. *)
ENTITY documentasstgnmen!
SUPERTYPE OF (partial_document_assignment);
(* The description specifies additional information about the Document_assignment. ’)
description : OPTIONAL text_select;
(* The documentation specifies the Documentation_reference. *)
documentation: documentation_reference;
(* The documented_object specifies an object that is documented by the Document assignment. *)
documented_object: instance_definition_select;
END_ENTITY:
329