Skip to content

LocalTime incorrectly represent kdb time type #88

@dzmipt

Description

@dzmipt

LocalTime can keep hour only within 00 - 23 interval which is different for kdb. The below code demonstrate the problem

        c conn = new c("localhost", 10000);
        System.out.println(conn.k("0N!23:12:34.567"));
        System.out.println(conn.k("0N!43:12:34.567"));
        System.out.println(conn.k("0N!-23:12:34.567"));
        conn.close();

This code prints

23:12:34.567
19:12:34.567
00:47:25.433

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions