Skip to main content

[jsr363-experts] Re: Trivial formatting proposals

  • From: Martin Desruisseaux < >
  • To:
  • Subject: [jsr363-experts] Re: Trivial formatting proposals
  • Date: Sun, 14 Dec 2014 12:45:34 +0900
  • Organization: Geomatys

<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Le 14/12/14 00:16, Werner Keil a écrit :<br>
    <blockquote
cite="mid:CAAGawe1UzdomDdOLAmy5oDRph6O=mVxV=d99GBxgU2b=
      "
      type="cite">
      <div dir="ltr">Unit.getSymbol() should be locale neutral, keep in
        mind, Java ME Embedded has no Locale, we just fixed a problem in
        the API recently<img
          src="cid:part1.00060304.05050600@geomatys.fr" goomoji="329"
          style="margin: 0px 0.2ex; vertical-align: middle;">
        <div>(...snip...) We might want to document that a bit further
          both in future versions of the Spec past EDR and maybe
          JavaDoc.</div>
      </div>
    </blockquote>
    <p>Yes this is my point: either we provide a <tt>Locale</tt>
      argument, or we specify in the Javadoc which symbol or name shall
      be used. For SI it sound easy: the symbols as defined by BIPM. But
      for imperial units?<br>
    </p>
    <p><br>
    </p>
    <blockquote
cite="mid:CAAGawe1UzdomDdOLAmy5oDRph6O=mVxV=d99GBxgU2b=
      "
      type="cite">
      <div dir="ltr">Adding toString() I believe, JSR 310 did that,
        while it's a method of every Object, we could do this in places
        like Unit, too.<br>
      </div>
    </blockquote>
    It is already in the current Unit interface. I'm just proposing to
    move methods around in a more (I think) natural order.<br>
    <br>
        Martin<br>
    <br>
  </body>
</html>

Attachment: gifGPpXvtn7gf.gif
Description: GIF image



[jsr363-experts] Trivial formatting proposals

Martin Desruisseaux 12/13/2014

[jsr363-experts] Re: Trivial formatting proposals

Werner Keil 12/13/2014

[jsr363-experts] Re: Trivial formatting proposals

Martin Desruisseaux 12/14/2014

[jsr363-experts] Re: Trivial formatting proposals

Martin Desruisseaux 12/14/2014

[jsr363-experts] Re: Trivial formatting proposals

Werner Keil 12/14/2014

[jsr363-experts] Re: Trivial formatting proposals

Martin Desruisseaux 12/14/2014
 
 
Close
loading
Please Confirm
Close