程序包 weka.core
类 Debug.Timestamp
java.lang.Object
weka.core.Debug.Timestamp
- 所有已实现的接口:
Serializable
,RevisionHandler
- 封闭类:
- Debug
A class that can be used for timestamps in files, The toString() method
simply returns the associated Date object in a timestamp format. For
formatting options, see java.text.SimpleDateFormat.
- 版本:
- $Revision: 7519 $
- 作者:
- FracPete (fracpete at waikato dot ac dot nz)
- 另请参阅:
-
字段概要
字段 -
构造器概要
构造器构造器说明creates a timestamp with the current date and time and the default format.creates a timestamp with the current date and time and the specified format.creates a timestamp with the given date and the default format.creates a timestamp with the given date and format. -
方法概要
-
字段详细资料
-
DEFAULT_FORMAT
the default format- 另请参阅:
-
-
构造器详细资料
-
Timestamp
public Timestamp()creates a timestamp with the current date and time and the default format. -
Timestamp
creates a timestamp with the current date and time and the specified format.- 参数:
format
- the format of the timestamp- 另请参阅:
-
Timestamp
creates a timestamp with the given date and the default format.- 参数:
stamp
- the associated date/time for the timestamp
-
Timestamp
creates a timestamp with the given date and format.- 参数:
stamp
- the associated date/time for the timestampformat
- the format of the timestamp- 另请参阅:
-
-
方法详细资料
-
setFormat
sets the format for the timestamp- 参数:
value
- the format string- 另请参阅:
-
getFormat
returns the current timestamp format- 返回:
- the current format
-
getStamp
returns the associated date/time- 返回:
- the timestamp value
-
toString
returns the timestamp as string in the specified format -
getRevision
Returns the revision string.- 指定者:
getRevision
在接口中RevisionHandler
- 返回:
- the revision
-