Barcode.CalendarDateTime

public static class Barcode.CalendarDateTime extends Object

DateTime data type used in calendar events. If hours/minutes/seconds are not specified in the barcode value, they will be set to -1.

Public Method Summary

int
getDay()
Gets the day of the calendar date time.
int
getHours()
Gets the hours of the calendar date time.
int
getMinutes()
Gets the minutes of the calendar date time.
int
getMonth()
Gets the month of the calendar date time.
String
getRawValue()
Gets the raw value as it was encoded in the barcode.
int
getSeconds()
Gets the seconds of the calendar date time.
int
getYear()
Gets the year of the calendar date time.
boolean
isUtc()
Gets whether the date time is UTC.

Inherited Method Summary

Object
clone()
boolean
equals(Object arg0)
void
finalize()
final Class<?>
getClass()
int
hashCode()
final void
notify()
final void
notifyAll()
String
toString()
final void
wait(long arg0, int arg1)
final void
wait(long arg0)
final void
wait()

Public Methods

public int getDay ()

Gets the day of the calendar date time.

public int getHours ()

Gets the hours of the calendar date time.

public int getMinutes ()

Gets the minutes of the calendar date time.

public int getMonth ()

Gets the month of the calendar date time.

public String getRawValue ()

Gets the raw value as it was encoded in the barcode.

Structured values are not parsed, for example: '20130131', '20130210T010203', '20130210T010203Z'. Please refer to here for more details.

Returns null if the raw value can not be determined.

public int getSeconds ()

Gets the seconds of the calendar date time.

public int getYear ()

Gets the year of the calendar date time.

public boolean isUtc ()

Gets whether the date time is UTC.