DateTimeFactory2
- public class DateTimeFactory2 implements DateTimeFactoryInterface
Factory which parses string into CaosDB’s DATETIME values.
- Author:
tf
Constructors
DateTimeFactory2
DateTimeFactory2
- public DateTimeFactory2()
Methods
getDateTime
- public DateTimeInterface getDateTime()
parse
- public DateTimeInterface parse(String str)
setDate
setDom
- public void setDom(int dom)
setHour
- public void setHour(int hour)
setMinute
- public void setMinute(int minute)
setMonth
- public void setMonth(int month)
setNanoSecondFromFracionalString
setNanosecond
- public void setNanosecond(int nanosecond)
setNanoseconds
setSecond
- public void setSecond(int second)
setSystemDate
setTime
setTimeNS
setTimeZone
setTimeZoneOffset
- public void setTimeZoneOffset(int sign, int h, int m)
setUTCSeconds
setYear
- public void setYear(int year)
valueOf
- public static DateTimeInterface valueOf(Calendar c)
valueOf
- public static DateTimeInterface valueOf(String str)
valueOf
- public static DateTimeInterface valueOf(String str, TimeZone timeZone)