"[range] time_zone when using ms since epoch format as it's UTC based can not be applied to [" + this.fieldName
+ "]");
}</BUG>
DateMathParser forcedDateParser = null;
if (this.format  != null) {
<BUG>forcedDateParser = new DateMathParser(Joda.forPattern(this.format), DateFieldMapper.Defaults.TIME_UNIT);
}</BUG>
DateTimeZone dateTimeZone = null;
if (this.timeZone != null) {
dateTimeZone = DateTimeZone.forID(this.timeZone);

public Query toQuery(QueryParseContext parseContext) throws QueryParsingException, IOException {
Query query = null;
FieldMapper mapper = parseContext.fieldMapper(this.fieldName);
if (mapper != null) {
if (mapper instanceof DateFieldMapper) {
DateMathParser forcedDateParser = null;
if (this.format  != null) {
forcedDateParser = new DateMathParser(Joda.forPattern(this.format));
}
DateTimeZone dateTimeZone = null;
if (this.timeZone != null) {
dateTimeZone = DateTimeZone.forID(this.timeZone);
