if (max == null || max.compareToGDate(x.getGDateValue()) >= 0)
max = x.getGDateValue();
break;
}
case SchemaType.BTC_G_MONTH: {
XmlGMonth x = (XmlGMonth) sType.getFacet(SchemaType.FACET_MIN_INCLUSIVE);
if (x != null)
min = x.getGDateValue();
x = (XmlGMonth) sType.getFacet(SchemaType.FACET_MIN_EXCLUSIVE);
if (x != null)
if (min == null || min.compareToGDate(x.getGDateValue()) <= 0)
min = x.getGDateValue();
x = (XmlGMonth) sType.getFacet(SchemaType.FACET_MAX_INCLUSIVE);
if (x != null)
max = x.getGDateValue();
x = (XmlGMonth) sType.getFacet(SchemaType.FACET_MAX_EXCLUSIVE);
if (x != null)
if (max == null || max.compareToGDate(x.getGDateValue()) >= 0)
max = x.getGDateValue();
break;
}
}
if (min != null && max == null) {