Merge pull request #1089 from lemmingapex/master

Fix SimpleDateFormat doc URL for ToDate to point to oracle.com
This commit is contained in:
Tom Morris 2015-11-13 18:00:19 -05:00
commit 803882d533

View File

@ -178,7 +178,7 @@ public class ToDate implements Function {
throws JSONException { throws JSONException {
writer.object(); writer.object();
writer.key("description"); writer.value("Returns o converted to a date object, you can hint if the day or the month is listed first, or give an ordered list of possible formats using this syntax: http://java.sun.com/j2se/1.4.2/docs/api/java/text/SimpleDateFormat.html"); writer.key("description"); writer.value("Returns o converted to a date object, you can hint if the day or the month is listed first, or give an ordered list of possible formats using this syntax: http://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html");
writer.key("params"); writer.value("o, boolean month_first / format1, format2, ... (all optional)"); writer.key("params"); writer.value("o, boolean month_first / format1, format2, ... (all optional)");
writer.key("returns"); writer.value("date"); writer.key("returns"); writer.value("date");
writer.endObject(); writer.endObject();