944,120 Members | Top Members by Rank

Ad:
  • Java Discussion Thread
  • Unsolved
  • Views: 747
  • Java RSS
Oct 29th, 2009
0

check if a date type is null

Expand Post »
anyone knows how? if its empty or null?

events.get(x).getOccurredDate() == null

thats not working. neither

events.get(x).getOccurredDate().equals("")
Similar Threads
Reputation Points: 10
Solved Threads: 0
Junior Poster
hajjo is offline Offline
101 posts
since Mar 2008
Oct 29th, 2009
0
Re: check if a date type is null
might help to know what this getOccurredDate method looks like, or what Class it's from if it's not yours.
Moderator
Reputation Points: 1471
Solved Threads: 490
Industrious Poster
masijade is offline Offline
4,043 posts
since Feb 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Java Forum Timeline: [help]How to recompile java to class?
Next Thread in Java Forum Timeline: Need JAVA help!!





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC