Package org.silverpeas.mobile.client.common

## Class DateUtil

- java.lang.Object
- - org.silverpeas.mobile.client.common.DateUtil

-     public class DateUtil
      extends Object

  Author:
    svu

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `DateUtil()` |

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `static Date` | `addDays​(Date sourceDate, long days)` |
    `static int` | `dayDiff​(Date firstDate, Date secondDate)` |
    `static int` | `getMonth​(Date date)` |
    `static int` | `getWeek​(Date date)` |
    `static int` | `getYear​(Date date)` |
    `static boolean` | `isSameDate​(Date date0, Date date1)` |

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

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

- - ### Constructor Detail

    - #### DateUtil

          public DateUtil()

  - ### Method Detail

    - #### getWeek

          public static int getWeek​(Date date)

    - #### addDays

          public static Date addDays​(Date sourceDate,
                                     long days)

    - #### dayDiff

          public static int dayDiff​(Date firstDate,
                                    Date secondDate)

    - #### isSameDate

          public static boolean isSameDate​(Date date0,
                                           Date date1)

    - #### getYear

          public static int getYear​(Date date)

    - #### getMonth

          public static int getMonth​(Date date)