--0016361e8962170051046fef352f Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Did you look at stftime? Perhaps you could provide a concrete example of what you're trying to do? Chances are that it's already been done. James On Thu, Jul 30, 2009 at 12:17 PM, Venkat Akkineni < venkatram.akkineni / gmail.com> wrote: > Robert Klemme wrote: > > On 30.07.2009 00:32, Venkat Akkineni wrote: > >> Is there a parallel to Format/NumberFormat/DecimalFormat in ruby? > > > > printf, sprintf and % operator for String comes to mind. > > > > Kind regards > > > > robert > > Thanks for the reply. But as you know java.text api provides the > facility to handle dates, text, numbers in a language independent > manner. In other words of sayin it will let you set date formats , > number operators etc based on the locale you are dealing with. We have > resorted to writing an API after failing to find one. > > Thanks again > Venkat > -- > Posted via http://www.ruby-forum.com/. > > --0016361e8962170051046fef352f--