anyone knows how? if its empty or null?

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

thats not working. neither

events.get(x).getOccurredDate().equals("")

might help to know what this getOccurredDate method looks like, or what Class it's from if it's not yours.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.