{"id":19015350,"url":"https://github.com/hansolo/dateranger","last_synced_at":"2025-04-23T01:48:17.516Z","repository":{"id":144560619,"uuid":"440511544","full_name":"HanSolo/dateranger","owner":"HanSolo","description":"DateRanger is a JavaFX control to select dates and ranges","archived":false,"fork":false,"pushed_at":"2021-12-23T08:21:21.000Z","size":90,"stargazers_count":12,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-23T01:48:13.451Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","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/HanSolo.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":"2021-12-21T12:36:34.000Z","updated_at":"2023-12-29T12:58:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"7fce06df-e761-471d-8602-6f13502871ce","html_url":"https://github.com/HanSolo/dateranger","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HanSolo%2Fdateranger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HanSolo%2Fdateranger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HanSolo%2Fdateranger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HanSolo%2Fdateranger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HanSolo","download_url":"https://codeload.github.com/HanSolo/dateranger/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250354293,"owners_count":21416751,"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-08T19:36:52.461Z","updated_at":"2025-04-23T01:48:17.471Z","avatar_url":"https://github.com/HanSolo.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"## DateRanger\n\nThe DateRanger is a little JavaFX control which can either be used to simply visualize a given\nmonth and year or to select ranges defined by a start- and end-date.\n\nThe default view shows the current month and year with the current day selected (light blue).\nYou can select a date by clicking on it.\nThe control has properties to get the selectedDate, the currentMonth and the currentYear.\nAnd you can also set those properties.\nOn the left side you see the ISO calendar week and on top the short form for the days of\nthe week (depending on the locale that you also can set).\nThe DateRanger itself comes without the header that you see on the following screenshots\nwhich means if you would like to have a label that shows the current month with the year\nand some buttons to switch between months you either can create your own ones or use\nthe DateRangerControl which creates exactly this control that you see on the screenshots \nbelow.\n\nSelected date:\n\n![SelectedDate](https://i.ibb.co/tsMbYbq/Date-Ranger-1.png)\n\nSelected range:\nIf you hold down the `SHIFT` key, you can select a range of dates.\n\n![SelectedRange](https://i.ibb.co/7WbrqKm/Date-Ranger-2.png)\n\nIf you embedd the DateRanger in your own control and would like to use the selection, \nyou have to forward MouseEvents to the DateRanger by forwarding them to the dateRanger.onMousePressed(MouseEvent evt)\nmethod. To see how you can do this you might want to take a look at the `DateRangerControl.java` file.\n\nThe DateRanger control is styleable using css, please find the applied styles in the\n`date-ranger.css` file.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhansolo%2Fdateranger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhansolo%2Fdateranger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhansolo%2Fdateranger/lists"}