Java tutorial
//package com.java2s; public class Main { public static String addDateGreaterSysTimeCondition(String conditions, String key) { if ((conditions == null) || (key == null) || (key == "")) return conditions; conditions = (new StringBuilder(String.valueOf(conditions))).append(" and to_date(").append(key) .append(",'yyyy-mm-dd')>(sysdate-1)").toString(); return conditions; } }