public class TimeSwitchAttr extends java.lang.Object implements FCloneable, java.io.Serializable
构造器和说明 |
---|
TimeSwitchAttr() |
TimeSwitchAttr(BaseFormula time,
int unit) |
限定符和类型 | 方法和说明 |
---|---|
java.lang.Object |
clone() |
boolean |
equals(java.lang.Object ob) |
BaseFormula |
getTimeUnit() |
int |
getUnit() |
void |
readXML(XMLableReader reader) |
void |
setTimeType(int type) |
void |
setTimeUnit(BaseFormula timeUnit) |
JSONObject |
toJSONObject()
转为JSONObject对象.
|
void |
writeXML(XMLPrintWriter writer) |
public TimeSwitchAttr()
public TimeSwitchAttr(BaseFormula time, int unit)
public BaseFormula getTimeUnit()
public int getUnit()
public void setTimeUnit(BaseFormula timeUnit)
public void setTimeType(int type)
public void writeXML(XMLPrintWriter writer)
public void readXML(XMLableReader reader)
public JSONObject toJSONObject() throws JSONException
JSONException
public boolean equals(java.lang.Object ob)
equals
在类中 java.lang.Object
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
在接口中 FCloneable
clone
在类中 java.lang.Object
java.lang.CloneNotSupportedException
- 如果克隆失败则抛出此异常