Neither of these exists in Joda-Time.

Both can be implemented by creating implementations of the DateTimeParser
interface. This interface takes the input text, parses it and creates a
suitable date-time value. DateTimePrinter is also available. These can be
integrated using DateTimeFormatterBuilder.

Stephen


On 3 November 2010 17:55, Kevin Decherf <kdech...@gmail.com> wrote:

> Hi,
>
> I currently work on Quercus, Java implementation of PHP by Caucho
> Technology.
> I use Joda Time and its DateTimeFormatterBuilder to implement strptime()
> PHP function which parse a date/time in custom format.
>
> According to manual of strftime(3), %w represents the day of the week as a
> decimal, range 0 to 6, Sunday being 0.
> Default Chronology (ISO Format) of Joda Time uses a range 1 to 7, Monday
> being 1.
> Is a chronology exist to define first day of the week to Sunday or have you
> a custom parser to use to be able to parse a decimal from 0 to 6 ?
>
> Another question, %s represents the number of seconds since the Epoch. I
> don't find function to print this number in Joda Time, have you any idea ?
>
> Best regards,
>
> *
> *
>
> *
> *
>
> *Kevin Decherf* - M: +33 681194547
> Office & Production Manager, Clever Cloud SAS
> On the web: [image: Facebook] <http://www.facebook.com/kdecherf> [image:
> LinkedIn] <http://www.linkedin.com/in/kdecherf> [image: 
> Flickr]<http://www.flickr.com/photos/kdecherf>
>  [image: Twitter] <http://twitter.com/Kdecherf>
>
>
> ------------------------------------------------------------------------------
> Achieve Improved Network Security with IP and DNS Reputation.
> Defend against bad network traffic, including botnets, malware,
> phishing sites, and compromised hosts - saving your company time,
> money, and embarrassment.   Learn More!
> http://p.sf.net/sfu/hpdev2dev-nov
> _______________________________________________
> Joda-interest mailing list
> Joda-interest@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/joda-interest
>
>
------------------------------------------------------------------------------
Achieve Improved Network Security with IP and DNS Reputation.
Defend against bad network traffic, including botnets, malware, 
phishing sites, and compromised hosts - saving your company time, 
money, and embarrassment.   Learn More! 
http://p.sf.net/sfu/hpdev2dev-nov
_______________________________________________
Joda-interest mailing list
Joda-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/joda-interest

Reply via email to