public class DateUtilTest extends Object
Constructor and Description |
---|
DateUtilTest() |
Modifier and Type | Method and Description |
---|---|
void |
testBetween()
Test of between method, of class DateUtil.
|
void |
testCetVsCest() |
void |
testCreateDate()
Test of createDate method, of class DateUtil.
|
void |
testCreateDateIsDeterministic()
Non regression test for bug #1157
|
void |
testGetAge() |
void |
testGetDifferenceInDays() |
void |
testGetDifferenceInHours() |
void |
testGetDifferenceInMinutes() |
void |
testGetDifferenceInMonths() |
void |
testGetDifferenceInSeconds() |
void |
testGetMonthLibelle() |
void |
testGetYesterday() |
void |
testSetFistLastDayOfMonth()
Test of setLastDayOfMonth method, of class DateUtil.
|
void |
testSetFistLastDayOfYear()
Test of setLastDayOfMonth method, of class DateUtil.
|
void |
testTruncateToDayOfWeek()
Shows that
DateUtil.truncateToDayOfWeek(Date) works
fine and that using commons library for this operation is not possible. |
public void testCreateDate()
public void testCreateDateIsDeterministic() throws ParseException
ParseException
- ?public void testSetFistLastDayOfMonth()
public void testSetFistLastDayOfYear()
public void testBetween()
public void testCetVsCest()
public void testGetDifferenceInSeconds()
public void testGetDifferenceInMinutes()
public void testGetDifferenceInHours()
public void testGetDifferenceInDays()
public void testGetDifferenceInMonths()
public void testGetAge()
public void testGetMonthLibelle()
public void testTruncateToDayOfWeek()
DateUtil.truncateToDayOfWeek(Date)
works
fine and that using commons library for this operation is not possible.public void testGetYesterday()
Copyright © 2004–2020 CodeLutin. All rights reserved.