Skip to content

Commit

Permalink
fix PartitionByDateEx
Browse files Browse the repository at this point in the history
  • Loading branch information
junwen12221 committed Mar 19, 2022
1 parent 549ff2b commit 1e04f32
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ public void test() {
partition.setsPartionDay("10");
partition.init();
Assert.assertEquals(0,partition.calculateIndex("2021-01-01"));
Assert.assertEquals(36, partition.calculateIndex("2022-01-01"));
Assert.assertEquals(365, partition.calculateIndex("2022-01-01"));
System.out.println("------------success!----");
}
}

0 comments on commit 1e04f32

Please sign in to comment.