Giter Club home page Giter Club logo

datetimeseer's Introduction

DateTimeSeer

A painless way to pick future time

DateTimeSeer is an android seer who gets visions of the date and time you are thinking.

It tells you what you might be thinking and helps in what modern people call as autocompletion. Unfortunately, he currently knows only english.

Demo

Gradle

Add the seer to build.gradle and you are good to go,

dependencies {
    compile 'com.pv:datetimeseer:1.0.0'
}

The library exposes SeerFilter which extends android's Filter class and so can be hooked to anything which implements Filterable.

Use the ConfigBuilder to provide Date/Time formats.

The sample app here demonstrate the usage of the Filter with the AutoCompleteTextView.

Contributing

For other languages support,

  • Checkout the dev branch
  • Implement the changes for the language in this package. Check the english language implementation for reference.
  • Add the strings.xml file for the language
  • Add the language to Config.java
  • Update getLocaleFromLanguage in DateTimeUtils.java
  • Initialize the handlers created in SeerParserInitializer.java for the language

Feel free to create an issue in case of any implementation issues. Or email me at the address present on my profile.

TODOS

  • Add more documentation
  • Some dirty code clean up

datetimeseer's People

Contributors

p-v avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

datetimeseer's Issues

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.