Thank you, added some explanation about this.

Wim.

2011/12/9 Graeme Gill <grae...@argyllcms.com>

> Hi,
>        I'd just like to point out some ambiguity in the
> WTime and WDateTime::secsTo().
>
> The documentation says:
>
>    int Wt::WDateTime::secsTo(const WDateTime &other) const
>
>    Returns the difference between to datetime values (in seconds).
>
> The way I read that is that it will return the absolute difference.
>
> In fact it returns the signed (other - this), which is the opposite of the
> more normal left to right expectation of (this - other).
> (Presumably the same applies to daysTo(), timeTo etc.)
>
> Some clarification would help here.
>
> Graeme Gill.
>
>
> ------------------------------------------------------------------------------
> Cloud Services Checklist: Pricing and Packaging Optimization
> This white paper is intended to serve as a reference, checklist and point
> of
> discussion for anyone considering optimizing the pricing and packaging
> model
> of a cloud services business. Read Now!
> http://www.accelacomm.com/jaw/sfnl/114/51491232/
> _______________________________________________
> witty-interest mailing list
> witty-interest@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>
------------------------------------------------------------------------------
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to