Hi julien
Yes it would be nice :)
Stef
On Thu, Jan 4, 2018 at 2:28 PM, Julien wrote:
> I chosen something like the second solution to avoid adding a dependency to
> my project (it is a bit overkill for what I wanted to achieve). But
> shouldn’t this formatted-print feature be added in Duration?
I chosen something like the second solution to avoid adding a dependency to my
project (it is a bit overkill for what I wanted to achieve). But shouldn’t this
formatted-print feature be added in Duration?
Julien
---
Julien Delplanque
Doctorant à l’Université de Lille 1
http://juliendelplanque.b
Am 03.01.18 um 14:07 schrieb Julien:
> Hello,
>
> I do not see how to do a formatted print from a duration.
>
> I would like to be able to do something like:
>
> String streamContents: [ :s | 90 minutes formatted: ‘hh:mm’ printOn: s ]
>
> The Duration>>#printOn: method prints the ANSI 5.8.2.16
Hello,
I do not see how to do a formatted print from a duration.
I would like to be able to do something like:
String streamContents: [ :s | 90 minutes formatted: ‘hh:mm’ printOn: s ]
The Duration>>#printOn: method prints the ANSI 5.8.2.16 format:
[-]D:HH:MM:SS[.S]
The Duration>>#printHumanRe