|
|
@ -118,6 +118,7 @@ class DateUtilsTest : BaseUnitTest() {
|
|
|
|
assertThat(arrayOf("Sat", "Sun", "Mon", "Tue", "Wed", "Thu", "Fri"), equalTo(longWeekdayNames))
|
|
|
|
assertThat(arrayOf("Sat", "Sun", "Mon", "Tue", "Wed", "Thu", "Fri"), equalTo(longWeekdayNames))
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
@Test
|
|
|
|
@Test
|
|
|
|
fun getWeekdaysInMonth() {
|
|
|
|
fun getWeekdaysInMonth() {
|
|
|
|
val february = GregorianCalendar(2018, Calendar.FEBRUARY, 1)
|
|
|
|
val february = GregorianCalendar(2018, Calendar.FEBRUARY, 1)
|
|
|
@ -142,6 +143,7 @@ class DateUtilsTest : BaseUnitTest() {
|
|
|
|
equalTo(DateUtils.getWeekdaysInMonth(Timestamp(longMonth)))
|
|
|
|
equalTo(DateUtils.getWeekdaysInMonth(Timestamp(longMonth)))
|
|
|
|
)
|
|
|
|
)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
@Test
|
|
|
|
@Test
|
|
|
|
fun testGetToday() {
|
|
|
|
fun testGetToday() {
|
|
|
|