com.ibm.broker.plugin
Class MbTimestamp
- java.lang.Object
-
- java.util.Calendar
-
- java.util.GregorianCalendar
-
- com.ibm.broker.plugin.MbTimestamp
-
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<java.util.Calendar>
public class MbTimestamp extends java.util.GregorianCalendarMbTimestamp is a representation of the broker's ESQL timestamp type. When setting an element to a MbTimestamp value local time will be assumed, the time zone information is not currently supported apart from GMT in which case the time zone will be preserved.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.Calendar
ALL_STYLES, AM, AM_PM, APRIL, AUGUST, DATE, DAY_OF_MONTH, DAY_OF_WEEK, DAY_OF_WEEK_IN_MONTH, DAY_OF_YEAR, DECEMBER, DST_OFFSET, ERA, FEBRUARY, FIELD_COUNT, FRIDAY, HOUR, HOUR_OF_DAY, JANUARY, JULY, JUNE, LONG, LONG_FORMAT, LONG_STANDALONE, MARCH, MAY, MILLISECOND, MINUTE, MONDAY, MONTH, NARROW_FORMAT, NARROW_STANDALONE, NOVEMBER, OCTOBER, PM, SATURDAY, SECOND, SEPTEMBER, SHORT, SHORT_FORMAT, SHORT_STANDALONE, SUNDAY, THURSDAY, TUESDAY, UNDECIMBER, WEDNESDAY, WEEK_OF_MONTH, WEEK_OF_YEAR, YEAR, ZONE_OFFSET
-
-
Constructor Summary
Constructors Constructor and Description MbTimestamp(int year, int month, int date, int hour, int minute, int second)Constructs an MbTimestamp object.MbTimestamp(int year, int month, int date, int hour, int minute, int second, int millisecond)Constructs an MbTimestamp object.MbTimestamp(int year, int month, int date, int hour, int minute, int second, int millisecond, int tzmillis)Constructs an MbTimestamp object.
-
Method Summary
-
Methods inherited from class java.util.GregorianCalendar
add, clone, equals, from, getActualMaximum, getActualMinimum, getCalendarType, getGreatestMinimum, getGregorianChange, getLeastMaximum, getMaximum, getMinimum, getTimeZone, getWeeksInWeekYear, getWeekYear, hashCode, isLeapYear, isWeekDateSupported, roll, roll, setGregorianChange, setTimeZone, setWeekDate, toZonedDateTime
-
Methods inherited from class java.util.Calendar
after, before, clear, clear, compareTo, get, getAvailableCalendarTypes, getAvailableLocales, getDisplayName, getDisplayNames, getFirstDayOfWeek, getInstance, getInstance, getInstance, getInstance, getMinimalDaysInFirstWeek, getTime, getTimeInMillis, isLenient, isSet, set, set, set, set, setFirstDayOfWeek, setLenient, setMinimalDaysInFirstWeek, setTime, setTimeInMillis, toInstant, toString
-
-
-
-
Constructor Detail
-
MbTimestamp
public MbTimestamp(int year, int month, int date, int hour, int minute, int second)Constructs an MbTimestamp object.- Parameters:
year- The yearmonth- The monthdate- The day of the monthhour- The hourminute- The minutesecond- The second
-
MbTimestamp
public MbTimestamp(int year, int month, int date, int hour, int minute, int second, int millisecond)Constructs an MbTimestamp object.- Parameters:
year- The yearmonth- The monthdate- The day of the monthhour- The hourminute- The minutesecond- The secondmillisecond- The millisecond
-
MbTimestamp
public MbTimestamp(int year, int month, int date, int hour, int minute, int second, int millisecond, int tzmillis)Constructs an MbTimestamp object.- Parameters:
year- The yearmonth- The monthdate- The day of the monthhour- The hourminute- The minutesecond- The secondmillisecond- The millisecondtzmillis- Time zone raw offset
-
-