public class DateTime extends java.lang.Object
Consist of the string date value and a code number. The code number indicates how to interpret the string date.
| Constructor and Description |
|---|
DateTime()
|
DateTime(java.util.Date date)
|
DateTime(DateTimeType type)
|
DateTime(DateTimeType type,
java.util.Date date)
|
DateTime(long date)
|
DateTime(java.lang.String code,
java.lang.String value)
|
public DateTime()
Instantiates a new date time with todays value and code 102.
public DateTime(java.util.Date date)
Instantiates a new date time with the given date and the code 102.
date - the date as longpublic DateTime(DateTimeType type)
Instantiates a new date time with todays value and the given type.
type - the DateTimeTypepublic DateTime(DateTimeType type, java.util.Date date)
Instantiates a new date time with the given type and given date.
type - the typedate - the datepublic DateTime(long date)
Instantiates a new date time with the given date and the code 102.
date - the date as longpublic DateTime(java.lang.String code, java.lang.String value)
Instantiates a new date time.
code - the codevalue - the valueCopyright © 2014 konik.io. All Rights Reserved.