def extractMonthTariff(self, month):
ret = namedtuple("<STR_LIT>", ["<STR_LIT>", Field.kWh_Tariff_1, Field.kWh_Tariff_2, Field.kWh_Tariff_3,<EOL>Field.kWh_Tariff_4, Field.kWh_Tot, Field.Rev_kWh_Tariff_1,<EOL>Field.Rev_kWh_Tariff_2, Field.Rev_kWh_Tariff_3,<EOL>Field.Rev_kWh_Tariff_4, Field.Rev_kWh_Tot])<EOL>month += <NUM_LIT:1><EOL>ret.Month = str(month)<EOL>if (month < <NUM_LIT:1>) or (month > Extents.Months):<EOL><INDENT>ret.kWh_Tariff_1 = ret.kWh_Tariff_2 = ret.kWh_Tariff_3 = ret.kWh_Tariff_4 = str(<NUM_LIT:0>)<EOL>ret.Rev_kWh_Tariff_1 = ret.Rev_kWh_Tariff_2 = ret.Rev_kWh_Tariff_3 = ret.Rev_kWh_Tariff_4 = str(<NUM_LIT:0>)<EOL>ret.kWh_Tot = ret.Rev_kWh_Tot = str(<NUM_LIT:0>)<EOL>ekm_log("<STR_LIT>" + str(month))<EOL>return ret<EOL><DEDENT>base_str = "<STR_LIT>" + str(month) + "<STR_LIT:_>"<EOL>ret.kWh_Tariff_1 = self.m_mons[base_str + "<STR_LIT>"][MeterData.StringValue]<EOL>ret.kWh_Tariff_2 = self.m_mons[base_str + "<STR_LIT>"][MeterData.StringValue]<EOL>ret.kWh_Tariff_3 = self.m_mons[base_str + "<STR_LIT>"][MeterData.StringValue]<EOL>ret.kWh_Tariff_4 = self.m_mons[base_str + "<STR_LIT>"][MeterData.StringValue]<EOL>ret.kWh_Tot = self.m_mons[base_str + "<STR_LIT>"][MeterData.StringValue]<EOL>ret.Rev_kWh_Tariff_1 = self.m_rev_mons[base_str + "<STR_LIT>"][MeterData.StringValue]<EOL>ret.Rev_kWh_Tariff_2 = self.m_rev_mons[base_str + "<STR_LIT>"][MeterData.StringValue]<EOL>ret.Rev_kWh_Tariff_3 = self.m_rev_mons[base_str + "<STR_LIT>"][MeterData.StringValue]<EOL>ret.Rev_kWh_Tariff_4 = self.m_rev_mons[base_str + "<STR_LIT>"][MeterData.StringValue]<EOL>ret.Rev_kWh_Tot = self.m_rev_mons[base_str + "<STR_LIT>"][MeterData.StringValue]<EOL>return ret<EOL>
Extract the tariff for a single month from the meter object buffer.

        Args:
            month (int):  A :class:`~ekmmeters.Months` value or range(Extents.Months).

        Returns:
            tuple: The eight tariff period totals for month. The return tuple breaks out as follows:

            ================= ======================================
            kWh_Tariff_1      kWh for tariff period 1 over month.
            kWh_Tariff_2      kWh for tariff period 2 over month
            kWh_Tariff_3      kWh for tariff period 3 over month
            kWh_Tariff_4      kWh for tariff period 4 over month
            kWh_Tot           Total kWh over requested month
            Rev_kWh_Tariff_1  Rev kWh for tariff period 1 over month
            Rev_kWh_Tariff_3  Rev kWh for tariff period 2 over month
            Rev_kWh_Tariff_3  Rev kWh for tariff period 3 over month
            Rev_kWh_Tariff_4  Rev kWh for tariff period 4 over month
            Rev_kWh_Tot       Total Rev kWh over requested month
            ================= ======================================