Link Details

Link 110718 thumbnail
User 281268 avatar

By minidxer
Submitted: Sep 04 2008 / 23:51

DateUtil class contains static utility methods for manipulating and working with Dates. This is a useful class to simplify the date processing for programmers. For example, I want to know the day name of date August 10, 1983. What should we do with DateUtil? As we know, DateFiled provide a static method named stringToDate(). So, I get the day name of August 10, 1983 like this: DateUtil. getFullDayName (DateField. stringToDate(“08/10/1983”,”MM/DD/YYYY”)). What should we do without DateUtil?
  • 2
  • 0
  • 3267
  • 17

Add your comment

Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Upvoters (2)

Downvoters (0)

    Apache Hadoop
    Written by: Piotr Krewski
    Featured Refcardz: Top Refcardz:
    1. Play
    2. Akka
    3. Design Patterns
    4. OO JS
    5. Cont. Delivery
    1. Play
    2. Java Performance
    3. Akka
    4. REST
    5. Java