'Unifier of interval_get_multi. Used in: mrp_operations/mrp_operations.py,
crm/crm_lead.py (res given).
:deprecated: Odoo saas-3. Use get_working_hours instead.'

@api.multi
def interval_get(self, dt_from, hours, resource=False, byday=True):

    self.ensure_one()
    res = self.interval_get_multi([(fields.Datetime.to_string(dt_from), hours, self.id)], resource, byday)[(fields.Datetime.to_string(dt_from), hours, self.id)]
    return res
