Home / Function/ testParseWithSingleDigitTime() — netty Function Reference

testParseWithSingleDigitTime() — netty Function Reference

Architecture documentation for the testParseWithSingleDigitTime() function in DateFormatterTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  529a56c3_3b63_2848_41e4_a068d503f9ee["testParseWithSingleDigitTime()"]
  c48c7d4c_19d7_d8ae_b5b1_99bc3f5f1efe["DateFormatterTest"]
  529a56c3_3b63_2848_41e4_a068d503f9ee -->|defined in| c48c7d4c_19d7_d8ae_b5b1_99bc3f5f1efe
  style 529a56c3_3b63_2848_41e4_a068d503f9ee fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-base/src/test/java/io/netty/handler/codec/DateFormatterTest.java lines 70–81

    @Test
    public void testParseWithSingleDigitTime() {
        assertEquals(DATE, parseHttpDate("Sunday, 06 Nov 1994 8:49:37 GMT"));

        Date _08_09_37 = new Date(TIMESTAMP - 40 * 60 * 1000);
        assertEquals(_08_09_37, parseHttpDate("Sunday, 06 Nov 1994 8:9:37 GMT"));
        assertEquals(_08_09_37, parseHttpDate("Sunday, 06 Nov 1994 8:09:37 GMT"));

        Date _08_09_07 = new Date(TIMESTAMP - (40 * 60 + 30) * 1000);
        assertEquals(_08_09_07, parseHttpDate("Sunday, 06 Nov 1994 8:9:7 GMT"));
        assertEquals(_08_09_07, parseHttpDate("Sunday, 06 Nov 1994 8:9:07 GMT"));
    }

Domain

Subdomains

Frequently Asked Questions

What does testParseWithSingleDigitTime() do?
testParseWithSingleDigitTime() is a function in the netty codebase, defined in codec-base/src/test/java/io/netty/handler/codec/DateFormatterTest.java.
Where is testParseWithSingleDigitTime() defined?
testParseWithSingleDigitTime() is defined in codec-base/src/test/java/io/netty/handler/codec/DateFormatterTest.java at line 70.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free