Constant DMN_3_0097
Source pub const DMN_3_0097: &str = "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<definitions namespace=\"http://www.montera.com.au/spec/DMN/0097-feel-month-of-year-function\"\n name=\"0097-feel-month-of-year-function\"\n id=\"_i9fboPUUEeesLuP4RHs4vA\"\n xmlns=\"https://www.omg.org/spec/DMN/20191111/MODEL/\">\n \n <description>month of year function</description>\n\n <inputData name=\"date_input_001\" id=\"_date_input_001\">\n <!-- used to externally supply FEEL:date or other type of values defined in the TCK test file -->\n <variable name=\"date_input_001\" typeRef=\"Any\" /> \n </inputData>\n\n <decision name=\"date_001\" id=\"_date_001\">\n <variable name=\"date_001\"/>\n <informationRequirement>\n <requiredInput href=\"#_date_input_001\"/>\n </informationRequirement>\n <context>\n <contextEntry>\n <variable name=\"_2021-01-01\"/>\n <literalExpression><text>month of year(date_input_001)</text></literalExpression>\n </contextEntry>\n <contextEntry>\n <variable name=\"_2021-02-01\"/>\n <literalExpression><text>month of year(date_input_001+@\"P1M\")</text></literalExpression>\n </contextEntry>\n <contextEntry>\n <variable name=\"_2021-03-01\"/>\n <literalExpression><text>month of year(date_input_001+@\"P2M\")</text></literalExpression>\n </contextEntry>\n <contextEntry>\n <variable name=\"_2021-04-01\"/>\n <literalExpression><text>month of year(date_input_001+@\"P3M\")</text></literalExpression>\n </contextEntry>\n <contextEntry>\n <variable name=\"_2021-05-01\"/>\n <literalExpression><text>month of year(date_input_001+@\"P4M\")</text></literalExpression>\n </contextEntry>\n <contextEntry>\n <variable name=\"_2021-06-01\"/>\n <literalExpression><text>month of year(date_input_001+@\"P5M\")</text></literalExpression>\n </contextEntry>\n <contextEntry>\n <variable name=\"_2021-07-01\"/>\n <literalExpression><text>month of year(date_input_001+@\"P6M\")</text></literalExpression>\n </contextEntry>\n <contextEntry>\n <variable name=\"_2021-08-01\"/>\n <literalExpression><text>month of year(date_input_001+@\"P7M\")</text></literalExpression>\n </contextEntry>\n <contextEntry>\n <variable name=\"_2021-09-01\"/>\n <literalExpression><text>month of year(date_input_001+@\"P8M\")</text></literalExpression>\n </contextEntry>\n <contextEntry>\n <variable name=\"_2021-10-01\"/>\n <literalExpression><text>month of year(date_input_001+@\"P9M\")</text></literalExpression>\n </contextEntry>\n <contextEntry>\n <variable name=\"_2021-11-01\"/>\n <literalExpression><text>month of year(date_input_001+@\"P10M\")</text></literalExpression>\n </contextEntry>\n <contextEntry>\n <variable name=\"_2021-12-01\"/>\n <literalExpression><text>month of year(date_input_001+@\"P11M\")</text></literalExpression>\n </contextEntry>\n </context>\n </decision>\n\n <decision name=\"date_002\" id=\"_date_002\">\n <description>Tests FEEL expression: \'month of year(date: @\"2019-09-17\")\' and expects result: \'September (string)\'</description>\n <question>Result of FEEL expression \'month of year(date: @\"2019-09-17\")\'?</question>\n <allowedAnswers>September (string)</allowedAnswers>\n <variable name=\"date_002\"/>\n <literalExpression>\n <text>month of year(date: @\"2019-09-17\")</text>\n </literalExpression>\n </decision>\n\n <decision name=\"datetime_002\" id=\"_datetime_002\">\n <description>Tests FEEL expression: \'month of year(date: @\"2019-09-17T10:10:10\")\' and expects result: \'September (string)\'</description>\n <question>Result of FEEL expression \'month of year(date: @\"2019-09-17T10:10:10\")\'?</question>\n <allowedAnswers>September (string)</allowedAnswers>\n <variable name=\"datetime_002\"/>\n <literalExpression>\n <text>month of year(date: @\"2019-09-17T10:10:10\")</text>\n </literalExpression>\n </decision>\n\n <decision name=\"null_001\" id=\"_null_001\">\n <description>Tests FEEL expression: \'month of year(null)\' and expects result: \'null (string)\'</description>\n <question>Result of FEEL expression \'month of year(null)\'?</question>\n <allowedAnswers>null (string)</allowedAnswers>\n <variable name=\"null_001\"/>\n <literalExpression>\n <text>month of year(null)</text>\n </literalExpression>\n </decision>\n\n <decision name=\"null_002\" id=\"_null_002\">\n <description>Tests FEEL expression: \'month of year()\' and expects result: \'null (string)\'</description>\n <question>Result of FEEL expression \'month of year()\'?</question>\n <allowedAnswers>null (string)</allowedAnswers>\n <variable name=\"null_002\"/>\n <literalExpression>\n <text>month of year()</text>\n </literalExpression>\n </decision>\n\n <decision name=\"null_003\" id=\"_null_003\">\n <description>Tests FEEL expression: \'month of year(\"foo\")\' and expects result: \'null (string)\'</description>\n <question>Result of FEEL expression \'month of year(\"foo\")\'?</question>\n <allowedAnswers>null (string)</allowedAnswers>\n <variable name=\"null_003\"/>\n <literalExpression>\n <text>month of year(\"foo\")</text>\n </literalExpression>\n </decision>\n\n <decision name=\"null_004\" id=\"_null_004\">\n <description>Tests FEEL expression: \'month of year(date: null)\' and expects result: \'null (string)\'</description>\n <question>Result of FEEL expression \'month of year(date: null)\'?</question>\n <allowedAnswers>null (string)</allowedAnswers>\n <variable name=\"null_004\"/>\n <literalExpression>\n <text>month of year(date: null)</text>\n </literalExpression>\n </decision>\n\n <decision name=\"null_005\" id=\"_null_005\">\n <description>Tests FEEL expression: \'month of year(date: \"foo\")\' and expects result: \'null (string)\'</description>\n <question>Result of FEEL expression \'month of year(date: \"foo\")\'?</question>\n <allowedAnswers>null (string)</allowedAnswers>\n <variable name=\"null_005\"/>\n <literalExpression>\n <text>month of year(date: \"foo\")</text>\n </literalExpression>\n </decision>\n\n <decision name=\"null_006\" id=\"_null_006\">\n <description>Tests FEEL expression: \'month of year(value: @\"1970-01-01\")\' and expects result: \'null (string)\'</description>\n <question>Result of FEEL expression \'month of year(value: @\"1970-01-01\")\'?</question>\n <allowedAnswers>null (string)</allowedAnswers>\n <variable name=\"null_006\"/>\n <literalExpression>\n <!-- \'value\' is not the param name -->\n <text>month of year(value: @\"1970-01-01\")</text>\n </literalExpression>\n </decision>\n\n <decision name=\"null_007\" id=\"_null_007\">\n <variable name=\"null_007\"/>\n <informationRequirement>\n <requiredInput href=\"#_date_input_001\"/>\n </informationRequirement>\n <literalExpression>\n <text>month of year(date_input_001)</text>\n </literalExpression>\n </decision>\n\n <decision name=\"null_008\" id=\"_null_008\">\n <description>Tests FEEL expression: \'month of year(@\"1970-01-01\", @\"1970-01-01\")\' and expects result: \'null (string)\'</description>\n <question>Result of FEEL expression \'month of year(@\"1970-01-01\", @\"1970-01-01\")\'?</question>\n <allowedAnswers>null (string)</allowedAnswers>\n <variable name=\"null_008\"/>\n <literalExpression>\n <!-- too many params -->\n <text>month of year(@\"1970-01-01\", @\"1970-01-01\")</text>\n </literalExpression>\n </decision>\n\n</definitions>";