Package br.com.objectos.way.io

Examples of br.com.objectos.way.io.ToLocalDateVal


    assertThat(res.get(i2), equalTo(null));
  }

  public void data_emissao() {
    LineKey<LocalDate> key = keys().dataEmissao();
    List<LocalDate> res = transform(regs, new ToLocalDateVal(key));

    assertThat(res.get(i0), equalTo(new LocalDate(1995, 5, 23)));
    assertThat(res.get(i1), equalTo(new LocalDate(2012, 4, 10)));
    assertThat(res.get(i2), equalTo(new LocalDate(1992, 7, 1)));
  }
View Full Code Here


    assertThat(res.get(i2), equalTo(new LocalDate(1992, 7, 1)));
  }

  public void data_vencimento() {
    LineKey<LocalDate> key = keys().dataVencimento();
    List<LocalDate> res = transform(regs, new ToLocalDateVal(key));

    assertThat(res.get(i0), equalTo(null));
    assertThat(res.get(i1), equalTo(new LocalDate(2018, 4, 10)));
    assertThat(res.get(i2), equalTo(new LocalDate(1995, 1, 1)));
  }
View Full Code Here

    assertThat(res.get(i2), equalTo("VENCIMENTO"));
  }

  public void data_saida() {
    LineKey<LocalDate> key = keys().dataSaida();
    List<LocalDate> res = transform(regs, new ToLocalDateVal(key));

    assertThat(res.get(i0), equalTo(null));
    assertThat(res.get(i1), equalTo(null));
    assertThat(res.get(i2), equalTo(null));
    assertThat(res.get(i(214)), equalTo(new LocalDate(1997, 5, 2)));
View Full Code Here

    assertThat(res.get(i2), equalTo(null));
  }

  public void data_emissao() {
    LineKey<LocalDate> key = keys().dataEmissao();
    List<LocalDate> res = transform(regs, new ToLocalDateVal(key));

    assertThat(res.get(i0), equalTo(new LocalDate(1995, 5, 23)));
    assertThat(res.get(i1), equalTo(new LocalDate(2012, 4, 10)));
    assertThat(res.get(i2), equalTo(new LocalDate(1992, 7, 1)));
  }
View Full Code Here

    assertThat(res.get(i2), equalTo(new LocalDate(1992, 7, 1)));
  }

  public void data_vencimento() {
    LineKey<LocalDate> key = keys().dataVencimento();
    List<LocalDate> res = transform(regs, new ToLocalDateVal(key));

    assertThat(res.get(i0), equalTo(null));
    assertThat(res.get(i1), equalTo(new LocalDate(2018, 4, 10)));
    assertThat(res.get(i2), equalTo(new LocalDate(1995, 1, 1)));
  }
View Full Code Here

    assertThat(res.get(i2), equalTo("VENCIMENTO"));
  }

  public void data_saida() {
    LineKey<LocalDate> key = keys().dataSaida();
    List<LocalDate> res = transform(regs, new ToLocalDateVal(key));

    assertThat(res.get(i0), equalTo(null));
    assertThat(res.get(i1), equalTo(null));
    assertThat(res.get(i2), equalTo(null));
    assertThat(res.get(i(214)), equalTo(new LocalDate(1997, 5, 2)));
View Full Code Here

    assertThat(res.get(i2), equalTo(null));
  }

  public void data_emissao() {
    LineKey<LocalDate> key = keys().dataEmissao();
    List<LocalDate> res = transform(regs, new ToLocalDateVal(key));

    assertThat(res.get(i0), equalTo(new LocalDate(1995, 5, 23)));
    assertThat(res.get(i1), equalTo(new LocalDate(2012, 4, 10)));
    assertThat(res.get(i2), equalTo(new LocalDate(1992, 7, 1)));
  }
View Full Code Here

    assertThat(res.get(i2), equalTo(new LocalDate(1992, 7, 1)));
  }

  public void data_vencimento() {
    LineKey<LocalDate> key = keys().dataVencimento();
    List<LocalDate> res = transform(regs, new ToLocalDateVal(key));

    assertThat(res.get(i0), equalTo(null));
    assertThat(res.get(i1), equalTo(new LocalDate(2018, 4, 10)));
    assertThat(res.get(i2), equalTo(new LocalDate(1995, 1, 1)));
  }
View Full Code Here

TOP

Related Classes of br.com.objectos.way.io.ToLocalDateVal

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.