public class DateParam extends AbstractModel
header, skipSign
Constructor and Description |
---|
DateParam() |
DateParam(DateParam source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getFormat()
Get 时间格式
|
String |
getTargetType()
Get 输入类型,string,unix时间戳,默认string
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getTimeZone()
Get 时区,默认GMT+8
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setFormat(String Format)
Set 时间格式
|
void |
setTargetType(String TargetType)
Set 输入类型,string,unix时间戳,默认string
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setTimeZone(String TimeZone)
Set 时区,默认GMT+8
注意:此字段可能返回 null,表示取不到有效值。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public DateParam()
public DateParam(DateParam source)
public String getFormat()
public void setFormat(String Format)
Format
- 时间格式public String getTargetType()
public void setTargetType(String TargetType)
TargetType
- 输入类型,string,unix时间戳,默认string
注意:此字段可能返回 null,表示取不到有效值。public String getTimeZone()
public void setTimeZone(String TimeZone)
TimeZone
- 时区,默认GMT+8
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2024. All rights reserved.