I wouldn’t call them brilliant, but perhaps look at ERXJoda*Formatter classes 
for inspiration.

On Jun 10, 2016, at 7:10 AM, Hugi Thordarson <[email protected]> wrote:

> Hi all.
> I’m in the process of migrating most of my old projects to use Java 8’s 
> java.time.* classes for representing date and time (replacing NSTimestamp 
> with LocalDateTime etc.).
> 
> This works great—apart from one problem: java.time.DateTimeFormatter, the 
> formatter class used to format the java.time classes, doesn't inherit from 
> java.text.Format which WOString expects for it’s formatter binding.
> 
> I’m just wondering if anyone has done something brilliant to solve this 
> before I go ahead and write a java.text.Format class that wraps 
> DateTimeFormatter as a workaround? Perhaps we should modify ERXWOString to 
> allow DateTimeFormatter? Although that might be problematic since wonder 
> targets java 7.
> 
> Cheers,
> - hugi
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/rgurley%40smarthealth.com
> 
> This email sent to [email protected]


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to