public class Timestamp extends PrimitiveType<String>
Modifier and Type | Field and Description |
---|---|
static String |
ISO8601_FORMAT
ISO 8601 date format string.
|
Constructor and Description |
---|
Timestamp(Calendar calendar)
Deprecated.
In version 5.0, java.util.Calendar usage is replaced by org.joda.time.DateTime.
|
Timestamp(Date date)
Deprecated.
In version 5.0, java.util.Date usage is replaced by org.joda.time.DateTime.
|
Timestamp(String value) |
Modifier and Type | Method and Description |
---|---|
Calendar |
asCalendar()
Deprecated.
In version 5.0, java.util.Calendar usage is replaced by org.joda.time.DateTime.
|
Date |
asDate()
Deprecated.
In version 5.0, java.util.Date usage is replaced by org.joda.time.DateTime.
|
Date |
asSqlDate()
Deprecated.
In version 5.0, java.sql.Date usage is replaced by org.joda.time.DateTime.
|
static Timestamp |
valueOf(String value)
Returns a
Timestamp object holding the value of
the specified string. |
equals, getValue, toString
public static final String ISO8601_FORMAT
public Timestamp(String value)
@Deprecated public Timestamp(Date date)
@Deprecated public Timestamp(Calendar calendar)
public static Timestamp valueOf(String value)
Timestamp
object holding the value of
the specified string.s
- The string to be parsed.@Deprecated public Date asDate()
Date
date type.@Deprecated public Calendar asCalendar()
Calendar
date type.@Deprecated public Date asSqlDate()
Date
date type.Copyright © 2014 Open Microscopy Environment