Class com::mapd::tests::DateTimeTest

class DateTimeTest

a (hopefully) complete test case for date/time functions in OmniSci.

Public Static Functions

static LocalDateTime com.mapd.tests.DateTimeTest.testDateTrunc(LocalDateTime d, DateTruncUnit f, MapdTestClient client, Encoding enc)
static LocalDateTime com.mapd.tests.DateTimeTest.testDateTruncTable(LocalDateTime d, DateTruncUnit f, MapdTestClient client, Encoding enc)
static void com.mapd.tests.DateTimeTest.testDateExtract(LocalDateTime d, DateExtractUnit f, MapdTestClient client, Encoding enc)
static void com.mapd.tests.DateTimeTest.testDateExtractTable(LocalDateTime d, DateExtractUnit f, MapdTestClient client, Encoding enc)
static void com.mapd.tests.DateTimeTest.testDiff(String fn, LocalDateTime d0, LocalDateTime d1, DateDiffUnit f, MapdTestClient client, Encoding enc0, Encoding enc1)
static void com.mapd.tests.DateTimeTest.testDiffTable(String fn, LocalDateTime d0, LocalDateTime d1, DateDiffUnit f, MapdTestClient client, Encoding enc0, Encoding enc1)
static void com.mapd.tests.DateTimeTest.testDateAdd(String fn, LocalDateTime d, DateAddUnit f, long units, MapdTestClient client, Encoding enc)
static void com.mapd.tests.DateTimeTest.testDateAddTable(String fn, LocalDateTime d, DateAddUnit f, long units, MapdTestClient client, Encoding enc)
static void com.mapd.tests.DateTimeTest.testAdd(LocalDateTime d, DateAddUnit f, long units, MapdTestClient client, Encoding enc)
static void com.mapd.tests.DateTimeTest.testSub(LocalDateTime d, DateAddUnit f, long units, MapdTestClient client, Encoding enc)
static void com.mapd.tests.DateTimeTest.createTestTable(MapdTestClient client)
static void com.mapd.tests.DateTimeTest.main(String[] args)

Private Static Functions

static void com.mapd.tests.DateTimeTest.updateValues(MapdTestClient client, LocalDateTime a, Encoding aEnc)
static void com.mapd.tests.DateTimeTest.updateValues(MapdTestClient client, LocalDateTime a, Encoding aEnc, LocalDateTime b, Encoding bEnc)