{"id":13391850,"url":"https://github.com/piotrmoskala/JTimeAgo","last_synced_at":"2025-03-13T16:31:33.081Z","repository":{"id":18244969,"uuid":"21395862","full_name":"piotrmoskala/JTimeAgo","owner":"piotrmoskala","description":"Library extends java.util.Date and provide methods to return \"time ago\"/\"minutes ago\"/\"hours ago\" date strings based on current date and date provided to JTimeAgo object. Work everywhere where Java ( Java, Scala, Android ) is available.","archived":false,"fork":false,"pushed_at":"2014-07-02T13:54:57.000Z","size":134,"stargazers_count":17,"open_issues_count":1,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-05T17:37:52.623Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/piotrmoskala.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}},"created_at":"2014-07-01T17:05:49.000Z","updated_at":"2018-11-02T09:08:33.000Z","dependencies_parsed_at":"2022-09-12T16:50:47.265Z","dependency_job_id":null,"html_url":"https://github.com/piotrmoskala/JTimeAgo","commit_stats":null,"previous_names":["pixoo/jtimeago"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmoskala%2FJTimeAgo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmoskala%2FJTimeAgo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmoskala%2FJTimeAgo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmoskala%2FJTimeAgo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/piotrmoskala","download_url":"https://codeload.github.com/piotrmoskala/JTimeAgo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243441399,"owners_count":20291462,"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-07-30T15:01:15.496Z","updated_at":"2025-03-13T16:31:32.734Z","avatar_url":"https://github.com/piotrmoskala.png","language":"Java","funding_links":[],"categories":["Java"],"sub_categories":[],"readme":"## JTimeAgo - description\n\nJava library based on Objective-clibrary \n\nhttps://github.com/kevinlawler/NSDate-TimeAgo\n\nIt can be used everywhere where java is available. \n\n## Sample usage\n\nJTimeAgo extends java.util.Date class.\n\nif you got date stored in Data object You can simply wrap it :\n\n        Date date = Calendar.getInstance().getTime();\n        JTimeAgo jTimeAgo = new JTimeAgo(date);\n\nand thats all you need, then you have to call a following method:  \n\n        String time = jTimeAgo.getTimeAgo(); \n\n\n\n## Language support \n\n\nFor now English and Polish are only supported languages. \nEnglish is set as default\nIf you want to change language you can do it using provided constructor: \n\n        JTimeAgo jTimeAgo = new JTimeAgo(LanguageType.EN);\n        JTimeAgo jTimeAgo = new JTimeAgo(new Date(), LanguageType.EN); \n\nor by calling \n\n        jTimeAgo.setLanguage(LanguageType.EN);","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiotrmoskala%2FJTimeAgo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpiotrmoskala%2FJTimeAgo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiotrmoskala%2FJTimeAgo/lists"}