org.fourthline.cling.support.messagebox.model

## Class DateTime

- java.lang.Object
- - org.fourthline.cling.support.messagebox.model.DateTime

- All Implemented Interfaces:
    ElementAppender

      public class DateTime
      extends Object
      implements ElementAppender

  Author:
    Christian Bauer

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DateTime()`
    `DateTime(String date, String time)`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `appendMessageElements(MessageElement parent)`
    `static String` | `getCurrentDate()`
    `static String` | `getCurrentTime()`
    `String` | `getDate()`
    `String` | `getTime()`

    - ### Methods inherited from class java.lang.Object

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

- - ### Constructor Detail

    - #### DateTime

          public DateTime()

    - #### DateTime

          public DateTime(String date,
                          String time)

  - ### Method Detail

    - #### getDate

          public String getDate()

    - #### getTime

          public String getTime()

    - #### appendMessageElements

          public void appendMessageElements(MessageElement parent)

      Specified by:
        `appendMessageElements` in interface `ElementAppender`

    - #### getCurrentDate

          public static String getCurrentDate()

    - #### getCurrentTime

          public static String getCurrentTime()

Copyright © 2016 4th Line GmbH, Switzerland. All rights reserved.