Hi,

Is there any advance in the implementaton of WDateTime?

I want to use a WCartesianChart with a date/time x-axis...

Regards,
Andre

On Fri, Feb 27, 2009 at 6:30 AM, Koen Deforche <k...@emweb.be> wrote:

> Hey,
>
> 2009/2/18 jhig <j...@dreibier.net>:
> > is there a class in Wt or a way to handle date _and_ time? (yyyy-MM-dd
> > hh:mm:ss)
>
> That should eventually be WDateTime, but does not yet exist indeed.
> Perhaps now is a good time to implement this class.
>
> > It would be nice for showing data from an sql-statement in a
> WCartesianChart.
> > I tried to make a subclass of WDate (WDateTime) but it's not possible to
> use
> > this class in WAbstractItemModel.
> > (
> > [2009-Feb-18 11:44:29.462215] 8553 [/ OTFHnTAnj2EI2c08]
> > [fatal] "WAbstractItemModel: unsupported type N2Wt9WDateTimeE"
> > )
>
> That is a good point, however it does not look like it is possible to
> allow extending data type support in the model classes since we rely
> on boost::any. The proper way to do this would be to use a type traits
> system, but, it seems to me that you cannot combine this approach with
> boost::any...
>
> Regards,
> koen
>
>
> ------------------------------------------------------------------------------
> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco,
> CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the
> Enterprise
> -Strategies to boost innovation and cut costs with open source
> participation
> -Receive a $600 discount off the registration fee with the source code:
> SFAD
> http://p.sf.net/sfu/XcvMzF8H
> _______________________________________________
> witty-interest mailing list
> witty-interest@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>



-- 
[]'s
Andre Paim Lemos
------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to