title: Java differences in parsed timestamps are ignored
body: <p>In the following examples I succeeded to parse timestams in format yyMMddHHmmss(+-)HHss (a date plus or minus some time shift).</p>
  
  <p>So, when I give two identical timestamps, and a different shift, the result should be different.</p>
  
  <p>For example, let's take the datetime: 190219010000 (19th of February 2019, 01:00 [AM]), we can add 2 hours (the time will be 03:00) or subtract 2 hours (the time will be 23:00 and the date will be 18th of February) - that is, the parsed object should have 4 hours difference.</p>
  
  <p>In the following, running example, the timeshift is ignored. I can write any number and the output is always "19th of February 2019, 01:00".</p>
  
  <pre><code>//Input timestamps: "190219010000+0200" "190219010000-0200"
  import java.time.LocalDateTime;
  import java.time.format.DateTimeFormatter;
  public class HelloWorld
  {
    public static void main(String[] args)
    { //parsing "19th of February 2019, 01:00 [AM]" +- 2hours
      LocalDateTime ldt1 = LocalDateTime.parse("190219010000+0200", DateTimeFormatter.ofPattern("yyMMddHHmmssx"));
      LocalDateTime ldt2 = LocalDateTime.parse("190219010000-0200", DateTimeFormatter.ofPattern("yyMMddHHmmssx"));
      System.out.println("190219010000+0200: " +ldt1);
      System.out.println("190219010000-0200: "+ ldt2);
    }
  }
  </code></pre>
  
  <p>REAL output: in both cases the output is the same, but the input was different :/</p>
  
  <pre><code>190219010000+0200: 2019-02-19T01:00
  190219010000-0200: 2019-02-19T01:00
  </code></pre>
  
  <p>Expected output:</p>
  
  <pre><code>190219010000+0200: 2019-02-19T03:00
  190219010000-0200: 2019-02-18T23:00
  </code></pre>
  
  <p>Maybe I should use something else instead of the x in the pattern? Or a LocalDateTimeFormatter (that doesn't exist) instead of DateTimeFormatter?</p>
  
  <p>Thanks</p>