How to get the current Timezone
Adam D. Ruppe via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Fri Aug 28 11:04:16 PDT 2015
On Friday, 28 August 2015 at 17:59:06 UTC, WhatMeWorry wrote:
> Stupid question. If it always returns an empty string, why is
> it even there?
It can return meaningful information in other subclasses; it is a
method from the interface and is just blank in the LocalTime
class.
If you construct one of the other subclasses, you may provide a
name which can be retrieved through it, or perhaps some future
class might implement it too.
More information about the Digitalmars-d-learn
mailing list