This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
thanks for your help getting the API useable > John- > > On 11/1/12 8:05 PM, Unidata netCDF Java Support wrote: > > 1) im not sure what controls the month name output. > > It's got to be the Chronology classes, but I looked around and didn't > figure out how it ends up doing that. Maybe I'll contact Jon Blower > about it. > > > 2) added: > > > >> public CalendarDateFormatter(String pattern, CalendarTimeZone tz, > >> Calendar cal) { > >> Chronology chron = Calendar.getChronology(cal); > >> dflocal = > >> DateTimeFormat.forPattern(pattern).withChronology(chron).withZone( > >> tz.getJodaTimeZone()); > >> } > >> > >> public CalendarDate parse(String timeString) { > >> DateTime dt = dflocal.parseDateTime(timeString); > >> Calendar cal = Calendar.get(dt.getChronology().toString()); > >> return new CalendarDate(cal, dt); > >> } > > Thanks. I'm going to check in a bunch of stuff to the nc4.3 IDV branch > with these changes including a new ncIdv.jar. > > Thanks for your help with this. > > Don > -- > Don Murray > NOAA/ESRL/PSD and CIRES > 303-497-3596 > http://www.esrl.noaa.gov/psd/people/don.murray/ > > Ticket Details =================== Ticket ID: TVQ-727289 Department: Support netCDF Java Priority: Normal Status: Closed