Kunzisoft / Kunzisoft/Android-SwitchDateTimePicker

How To set Minimum and Maximum Time.

Open
#33 2 comments 0 reactions 0 assignees View on GitHub
feature
Dominant language
Java
Stars
384
Forks
88
PR merge metrics
No merged PRs in 30d

Description

For My Application I Have given user to select booking date time . The Date Should be Current Date or Next Date ,which i can easily set using `setMinimumDateTime` and `setMaximumDateTime` . But for Time minimum time should not be less than current time and max time should not be greater than current time + 24 hrs . how should i set minimum and maximum time as well. because `setMinimumDateTime` and `setMaximumDateTime` only set Constraint on date not time. How can i perform this task .

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by inspecting the setMinimumDateTime and setMaximumDateTime entry points and how the picker applies their constraints to dates and times. Determine how the current time through the next 24 hours should be represented for both limits, then verify that selections outside that window are prevented.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.