Re: Question about fromLogical method in connect/api/src/main/java/org/apache/kafka/connect/data/Date.java

2017-10-30 Thread Dongjin Lee
PM, CharSyam <chars...@gmail.com> wrote: > Hi here. > > I have a question about fromLogical method in > connect/api/src/main/java/org/apache/kafka/connect/data/Date.java > > below code does these step. > 1. calendar with UTC timezone > 2. set value > 3. check

Question about fromLogical method in connect/api/src/main/java/org/apache/kafka/connect/data/Date.java

2017-10-30 Thread CharSyam
Hi here. I have a question about fromLogical method in connect/api/src/main/java/org/apache/kafka/connect/data/Date.java below code does these step. 1. calendar with UTC timezone 2. set value 3. check hour, minute, second, millisecond are 0. if not throw DataException. ``` public static int