develooper Front page | perl.perl6.language | Postings from April 2010

Re: expression of seconds (was Re: A new era for Temporal)

Thread Previous | Thread Next
From:
Dave Rolsky
Date:
April 11, 2010 18:49
Subject:
Re: expression of seconds (was Re: A new era for Temporal)
Message ID:
alpine.DEB.0.9999.1004112048160.20110@urth.org
On Fri, 9 Apr 2010, Darren Duncan wrote:

> conceptual and a usability and a math point of view.  If users only want the 
> integer value, then they can just store the second as an integer in the first 
> place.  As for the name, well "whole_second" can be made shorter, or its

Users will not always control how the DateTime object is constructed. 
Nonetheless, when they want to know "what is the value for seconds", I 
think _most_ users will want an integer, not a floating point number.


-dave

/*============================================================
http://VegGuide.org               http://blog.urth.org
Your guide to all that's veg      House Absolute(ly Pointless)
============================================================*/

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About