DateTimeFactory2

public class DateTimeFactory2 implements DateTimeFactoryInterface

Factory which parses string into CaosDB’s DATETIME values.

Author:

tf

Constructors

DateTimeFactory2

public DateTimeFactory2(TimeZone timeZone)

DateTimeFactory2

public DateTimeFactory2()

Methods

getDateTime

public DateTimeInterface getDateTime()

parse

public DateTimeInterface parse(String str)

setDate

public void setDate(String string)

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

public void setNanoSecondFromFracionalString(String str)

setNanosecond

public void setNanosecond(int nanosecond)

setNanoseconds

public void setNanoseconds(String string)

setSecond

public void setSecond(int second)

setSystemDate

public void setSystemDate(java.util.Date d)

setTime

public void setTime(String string)

setTimeNS

public void setTimeNS(String string)

setTimeZone

public void setTimeZone(String str)

setTimeZoneOffset

public void setTimeZoneOffset(int sign, int h, int m)

setUTCSeconds

public void setUTCSeconds(String string)

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)