Class DateTime

java.lang.Object
com.whatsapp.api.domain.messages.DateTime

public class DateTime extends Object
The type Date time.
  • Constructor Details

    • DateTime

      public DateTime()
  • Method Details

    • getFallbackValue

      public String getFallbackValue()
      Gets fallback value.
      Returns:
      the fallback value
    • setFallbackValue

      public DateTime setFallbackValue(String fallbackValue)
      Sets fallback value.
      Parameters:
      fallbackValue - the fallback value
      Returns:
      the fallback value
    • getCalendar

      public CalendarType getCalendar()
      Gets calendar.
      Returns:
      the calendar
    • setCalendar

      public DateTime setCalendar(CalendarType calendar)
      Sets calendar.
      Parameters:
      calendar - the calendar
      Returns:
      the calendar
    • getMonth

      public Integer getMonth()
      Gets month.
      Returns:
      the month
    • setMonth

      public DateTime setMonth(Integer month)
      Sets month.
      Parameters:
      month - the month
      Returns:
      the month
    • getHour

      public Integer getHour()
      Gets hour.
      Returns:
      the hour
    • setHour

      public DateTime setHour(Integer hour)
      Sets hour.
      Parameters:
      hour - the hour
      Returns:
      the hour
    • getYear

      public Integer getYear()
      Gets year.
      Returns:
      the year
    • setYear

      public DateTime setYear(Integer year)
      Sets year.
      Parameters:
      year - the year
      Returns:
      the year
    • getDayOfMonth

      public Integer getDayOfMonth()
      Gets day of month.
      Returns:
      the day of month
    • setDayOfMonth

      public DateTime setDayOfMonth(Integer dayOfMonth)
      Sets day of month.
      Parameters:
      dayOfMonth - the day of month
      Returns:
      the day of month
    • getDayOfWeek

      public Integer getDayOfWeek()
      Gets day of week.
      Returns:
      the day of week
    • setDayOfWeek

      public DateTime setDayOfWeek(Integer dayOfWeek)
      Sets day of week.
      Parameters:
      dayOfWeek - the day of week
      Returns:
      the day of week
    • getMinute

      public Integer getMinute()
      Gets minute.
      Returns:
      the minute
    • setMinute

      public DateTime setMinute(Integer minute)
      Sets minute.
      Parameters:
      minute - the minute
      Returns:
      the minute