Comments on: Introducing Joda Time: The smart date API Friends of Oracle and Java Wed, 24 Jun 2015 09:59:44 +0000 hourly 1 By: Kaushik Gopal Wed, 14 Mar 2012 06:31:54 +0000 Hey Luc,

Great Stuff! A common issue I’ve noticed for ADF+Joda users is inter-conversion between the stock oracle.jbo.domain.Date that comes with ADF and Joda’s DateTime. I’ve written a blog post detailing just this: . Hope your readers find it useful.

Rock on!

By: shwetha Fri, 10 Feb 2012 16:47:37 +0000 Hi,
Can anyone please help on how to create only Time (without date) and calculate intervals between 2 times. I need a way to convert a string like 11:30 to time..

By: Luc Bors Sun, 06 Mar 2011 20:33:44 +0000 Hi ana,
No experience on that, but what I learn from the JODA-time wiki ( is below. Take a look a that wiki
// setup date object for midday on May Day 2004 (ISO year 2004)
DateTime dtISO = new DateTime(2004, 5, 1, 12, 0, 0, 0);

// find out what the same instant is using the Islamic Chronology

DateTime dtIslamic = dtISO.withChronology(IslamicChronology.getInstance());

By: ana Thu, 03 Mar 2011 12:12:33 +0000 Hey Hi,
can you please help me by suggesting How to use Islamic Calendar /Lunar Calendar with JodoTime. Please tell me as soon as possible.
Thank You

By: Luc Bors Wed, 12 Aug 2009 10:48:48 +0000 Hi Robert,

according to the component documentation the inputDate only accepts java.util.Date.

If you need the value as a LocalDate instance, you could try to do the following:

Use the org.joda.time.LocalDate date untill you have to actually show the date in the adf component. In other words: bind the to a java.util.Date date, and in the getter you first get the org.joda.time.LocalDate date and convert it to a java.util.Date date, which is the date that you return.

When the date is changed, you can use a valueChangeListener which converts the java.util.Date date to the org.joda.time.LocalDate date.

I wish a had a different answer, but I don’t. Let me know the solution you pick.

Say hello to the rest of the team, and good luck with the next phase in the project !

By: Robert Willems Mon, 10 Aug 2009 11:51:11 +0000 Hi Luc,

how do you configure the af:inputDate to bind to a value that is a LocalDate instance?
It seems to want to set the model to an java.util.Date :(

Robert (and the rest of the team ;-))

By: Jasper Fontaine Wed, 17 Jun 2009 06:24:35 +0000 For some additional fun, try doing this:

DateTimeFormatter formatter =
DateTimeFormat.forPattern(“yyyy-MM-dd HH:mm:ss.S”).withLocale(DUTCH_LOCALE);
DateTime dt = formatter.parseDateTime(“1893-03-31 23:53:28.0″);