cancel
Showing results for 
Search instead for 
Did you mean: 

MDM Java API for literal Date

Former Member
0 Kudos

Hi All,

My requirement is to save and retrieve field that is of type literal date and I am not getting the exact API to use. If any body knows the exact API please answer this question.

Thanks and Regards,

Vibha

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

you can use DateTimeValue class to insert the date and time. we need to pass calendar instance as parameter to DateTimeValue constructor.

Regards,

Sreenivasulu.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Vibha,

To save and retrieve field that is of type literal date just retrieve the value as we are doing it for normal fields and then typecast the value with java.sql.Date

Hope this would be helpful!!!!!!!!!!

Regards,

Parul