Code Monkey home page Code Monkey logo

Comments (10)

JZXiang avatar JZXiang commented on September 3, 2024

默认时间选项为月初或者月末?

from timepickerdialog.

2391645784 avatar 2391645784 commented on September 3, 2024

选中的时间为月末 比如说选中后得到的是1月31日的毫秒数这样子。。。

from timepickerdialog.

2391645784 avatar 2391645784 commented on September 3, 2024

默认时间默认为月初就好了

from timepickerdialog.

JZXiang avatar JZXiang commented on September 3, 2024

选中后回调的时间戳么

from timepickerdialog.

2391645784 avatar 2391645784 commented on September 3, 2024

嗯嗯

from timepickerdialog.

2391645784 avatar 2391645784 commented on September 3, 2024

时间有范围限制吗? 只能选前后50年?

from timepickerdialog.

JZXiang avatar JZXiang commented on September 3, 2024

.setMinMillseconds(System.currentTimeMillis()) .setMaxMillseconds(System.currentTimeMillis() + tenYears) .setCurrentMillseconds(System.currentTimeMillis())
这些配置接口应该可以满足你的要求,回调后的时间戳精确到毫秒,暴漏出去处理比较好

from timepickerdialog.

2391645784 avatar 2391645784 commented on September 3, 2024

这个有试过了 最大不会超过50年。。。。

from timepickerdialog.

JZXiang avatar JZXiang commented on September 3, 2024

将最大值和最小值都设置后,是没问题的,不会走默认值(50年)

from timepickerdialog.

2391645784 avatar 2391645784 commented on September 3, 2024

这样啊 我再试试 3Q

from timepickerdialog.

Related Issues (20)

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.