# Class CalendarDateTime

java.lang.Object
com.codename1.calendar.CalendarDateTime

public final class CalendarDateTime extends Object
Either an instant with an Olson time-zone ID or an all-day date.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static CalendarDateTime`
  `allDay(CalendarDate date)`
  `CalendarDate`
  `getDate()`
  `long`
  `getTimestamp()`
  `String`
  `getTimeZoneId()`
  `static CalendarDateTime`
  `instant(long timestamp, String timeZoneId)`
  `boolean`
  `isAllDay()`

  ### Methods inherited from class Object

  `clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Method Details

  - ### instant

    public static CalendarDateTime instant(long timestamp, String timeZoneId)

  - ### allDay

    public static CalendarDateTime allDay(CalendarDate date)

  - ### isAllDay

    public boolean isAllDay()

  - ### getTimestamp

    public long getTimestamp()

  - ### getTimeZoneId

    public String getTimeZoneId()

  - ### getDate

    public CalendarDate getDate()