[BDSDK-28] implemented equals/hashcode for intervals