Script is not working properly

I am trying to get range of hours but i did not get.
In my data date format is:- 2016-05-19T04:00:00+03:00
My Sample code is:-
GET trafficreports1/pyeventlog/_search?size=1000
{
"query": {
"filtered": {
"filter": {
"bool": {
"must": [
{
"range": {
"LocalTimestamp": {
"gte": "2016-05-19T04:00:00+03:00",
"lte": "2016-05-20T11:00:00+03:00"
}
}
},
{
"script": {
"script": "doc['LocalTimestamp'].date.getHourOfDay() < min",
"params": {
"min":7
}
}
}
]
}
}
}
},
"sort" : [
{ "LocalTimestamp" : "asc" }
]
}