Git Product home page Git Product logo

kyuga's People

Contributors

glen-martin avatar johnjoseph avatar vizsatiz avatar

Watchers

 avatar  avatar  avatar

kyuga's Issues

Fix exception while parsing for timestamps like hh:mm:ss without dates

Sample input: 22:55:4
Debug Logs:

ch:2 state:2 map:{NUM=2, TYP=NUM}
ch:2 state:3 map:{NUM=22, TYP=NUM}
ch:: state:4 map:{HH=22, TYP=DATE}
ch:5 state:5 map:{HH=22, mm=5, TYP=DATE}
ch:5 state:5 map:{HH=22, mm=55, TYP=DATE}
ch:: state:6 map:{HH=22, mm=55, TYP=DATE}
ch:4 state:-1 map:{HH=22, mm=55, ss=4, TYP=DATE}

Exception:

String index out of range: 8
java.lang.StringIndexOutOfBoundsException: String index out of range: 8
	at java.lang.String.substring(String.java:1963)
	at com.twelfthmile.kyuga.Kyuga.prepareResult(kYuga.kt:168)
	at com.twelfthmile.kyuga.Kyuga.getResponse(kYuga.kt:128)
	at com.twelfthmile.kyuga.Kyuga.parse(kYuga.kt:145)
	at com.twelfthmile.kyuga.Kyuga.tokenise(kYuga.kt:77)
	at YugaTest.on tokenize - valid offer- should tokenize(YugaTest.kt:45)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       ...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.