Overview | Package | Class | Use | Tree | Deprecated | Index
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.eclipse.emf.ecp.edit.internal.swt.util
Class DateUtil

    java.lang.Object
      org.eclipse.emf.ecp.edit.internal.swt.util.DateUtil

    public final class DateUtil

extends Object

Helper class for Date conversion.

Author:
  Eugen Neufeld

Method Summary
`static XMLGregorianCalendar` | `convertOnlyDateToXMLGregorianCalendar(Calendar calendar)` Convert a `Calendar` object to an `XMLGregorianCalendar` (to the `XMLCalendar` implementation) which contains only the date without the timezone.

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Method Detail

### convertOnlyDateToXMLGregorianCalendar

    public static XMLGregorianCalendar convertOnlyDateToXMLGregorianCalendar(Calendar calendar)

  Convert a `Calendar` object to an `XMLGregorianCalendar` (to the `XMLCalendar` implementation) which contains only the date without the timezone.

  Parameters:
    `calendar` - the `Calendar` to convert
  Returns:
    the `XMLGregorianCalendar` containing only the date

Overview | Package | Class | Use | Tree | Deprecated | Index
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2015. All Rights Reserved.