{"id":20466043,"url":"https://github.com/wheely/android-day-time-picker","last_synced_at":"2025-07-03T22:36:47.965Z","repository":{"id":137596234,"uuid":"475825313","full_name":"wheely/android-day-time-picker","owner":"wheely","description":"Day Time Picker Widget","archived":false,"fork":false,"pushed_at":"2023-06-01T07:11:24.000Z","size":311,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-16T01:16:53.629Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wheely.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-03-30T10:17:47.000Z","updated_at":"2022-04-04T05:16:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"d70be859-1514-405d-8bfd-6aeb592936b6","html_url":"https://github.com/wheely/android-day-time-picker","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wheely%2Fandroid-day-time-picker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wheely%2Fandroid-day-time-picker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wheely%2Fandroid-day-time-picker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wheely%2Fandroid-day-time-picker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wheely","download_url":"https://codeload.github.com/wheely/android-day-time-picker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242027477,"owners_count":20060106,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-15T13:21:15.953Z","updated_at":"2025-03-05T12:29:26.299Z","avatar_url":"https://github.com/wheely.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"Widget for choosing Day and Time for Android apps with flexible configuration \n\n\u003cimage src=picker-demo.gif /\u003e\n\nAdd repository:\n```groovy\n    repositories {\n        maven { url 'https://jitpack.io' }\n    }\n```\nAdd the dependency\n```groovy\n    dependencies {\n        implementation 'com.github.wheely:android-day-time-picker:1.0.2'\n    }\n```\nSample usage\n```xml\n    \u003ccom.wheely.daytimepicker.DayTimePicker\n        android:id=\"@+id/day_time_picker\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"wrap_content\"\n        app:day_time_picker_is_24h_mode=\"false\"\n    /\u003e\n```\n```kotlin\n    val dayTimePicker: DayTimePicker = findViewById(R.id.day_time_picker)\n    val currentTime = LocalDateTime.of(1993, Month.SEPTEMBER, 3, 21, 21)\n    val startTime = LocalDate.of(1993, Month.SEPTEMBER, 2).atStartOfDay()\n    val dayFormatter = DateTimeFormatterBuilder().appendPattern(\"d MMMM YYYY\").toFormatter()\n\n    dayTimePicker.setDateTimeParams(\n        startTime,\n        currentTime,\n        Duration.ofDays(3)\n    ) { dayFormatter.format(it) }\n    dayTimePicker.onUserSelected = { time: LocalDateTime -\u003e\n        // handle time\n    }\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwheely%2Fandroid-day-time-picker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwheely%2Fandroid-day-time-picker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwheely%2Fandroid-day-time-picker/lists"}