for example: ``` if (fromDate.value != null) { ...
# tornadofx
p
for example:
Copy code
if (fromDate.value != null) {
                var from = fromDate.value.toString() + " "
                if (fromTime.value != null) {
                    from += fromTime.value.toString() + ":00"
                } else {
                    from += "00:00:00"
                }
                params.put("fromdate", from)
            }