From 14fdd530b4348713474447393a1c18c7543ead18 Mon Sep 17 00:00:00 2001 From: richie Date: Tue, 12 Nov 2019 14:45:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E7=9A=84=E5=87=A0=E4=B8=AA=E5=8F=82?= =?UTF-8?q?=E6=95=B0=E5=A4=84=E7=90=86=E7=9A=84API?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/fanruan/api/cal/ParameterKit.java | 44 +++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/src/main/java/com/fanruan/api/cal/ParameterKit.java b/src/main/java/com/fanruan/api/cal/ParameterKit.java index 0cbb687..d399884 100644 --- a/src/main/java/com/fanruan/api/cal/ParameterKit.java +++ b/src/main/java/com/fanruan/api/cal/ParameterKit.java @@ -196,4 +196,48 @@ public class ParameterKit { return jsonArray; } + + /** + * 参数类型 + */ + public static final class Type { + + private Type(){} + + /** + * 文本类型的参数 + */ + public static final String TYPE_STRING = ParameterTypeHandler.String.name(); + + /** + * 整数类型的参数 + */ + public static final String TYPE_INTEGER = ParameterTypeHandler.Integer.name(); + + /** + * 小数类型的参数 + */ + public static final String TYPE_DOUBLE = ParameterTypeHandler.Double.name(); + + /** + * 日期类型的参数 + */ + public static final String TYPE_DATE = ParameterTypeHandler.Date.name(); + + /** + * 布尔类型的参数 + */ + public static final String TYPE_BOOLEAN = ParameterTypeHandler.Boolean.name(); + + /** + * 公式类型的参数 + */ + public static final String TYPE_FORMULA = ParameterTypeHandler.Formula.name(); + + /** + * 长整形类型的参数 + */ + public static final String TYPE_LONG = ParameterTypeHandler.Long.name(); + + } }