Giter Site home page Giter Site logo

datetimerselector's Introduction

这个日期选择器是仿IOS的,在工程创建中用了Yuri Kanivets的WheelView控件,另外还使用了一个开源的dialog建造器,在这两者的基础上进行了改进并整合在一块;由于最初这个项目是开发用于平板的,所以可能在手机段的显示上会有些问题;

修改Dialog的样式属性在DateTimeSelectorDialogBuilder类中的setDialogProperties()方法中,可根据自身的需求进行修改;

#2015-2-4 1、修复二月显示日期的错误(PS一直以为闰年2月是29天,不闰年是30天,这些年是怎么过的);

2、修正闰年的算法,不是能被4整除就是闰年,需要被4整除不被100整除或者被4整除并能被400整除才是闰年(数学是英语老师教的);

3、修改Dialog的显示样式,添加圆角样式,之前一直找不到添加圆角不成功的问题,原来是在设置Dialog属性的时候不能添加dialog的背景颜色,这样会覆盖之前在布局文件中设置的样式;

4、修改当前日期的显示,默认显示当天的日期;

#2015-2-5

1、新增地址选择器,省市两级联动,可选择省市及其id;

2、添加Dialog显示动画效果,可自由设置;

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.