Jump to content
We've recently updated our Privacy Statement, available here ×

tedpet5

Members
  • Posts

    14
  • Joined

  • Last visited

Community Answers

  1. tedpet5's post in how to use the Joda dateTime formatter in report (ANSWERED) was marked as the answer   
    I found an answer.
    Originally I had a field that was a localdate.   $F{materialsClose}. I was defining its properties/field class to be:  org.joda.time.LocalDate
    Instead, I set the field class to java.lang.String
    then the "text field expression" for the textField is:  new org.joda.time.LocalDate($F{materialsClose}).toDate()
    set the pattern to the format and voila, a properly formatted LocalDate.
×
×
  • Create New...