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.

Reply via email to