{"id":13644487,"url":"https://github.com/Morxander/Zaman","last_synced_at":"2025-04-21T10:33:25.879Z","repository":{"id":82660729,"uuid":"76264580","full_name":"Morxander/Zaman","owner":"Morxander","description":"The library provides a custom TextView and Helper for Android to convert timestamp to time String","archived":false,"fork":false,"pushed_at":"2016-12-14T17:14:28.000Z","size":187,"stargazers_count":61,"open_issues_count":0,"forks_count":13,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-08T06:35:43.173Z","etag":null,"topics":["android","android-library","textview"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Morxander.png","metadata":{"files":{"readme":"README.MD","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2016-12-12T14:36:51.000Z","updated_at":"2024-12-03T16:52:55.000Z","dependencies_parsed_at":"2023-03-12T16:24:46.852Z","dependency_job_id":null,"html_url":"https://github.com/Morxander/Zaman","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/Morxander%2FZaman","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Morxander%2FZaman/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Morxander%2FZaman/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Morxander%2FZaman/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Morxander","download_url":"https://codeload.github.com/Morxander/Zaman/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250040466,"owners_count":21365110,"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":["android","android-library","textview"],"created_at":"2024-08-02T01:02:05.828Z","updated_at":"2025-04-21T10:33:25.346Z","avatar_url":"https://github.com/Morxander.png","language":"Java","funding_links":[],"categories":["TextView"],"sub_categories":[],"readme":"# Zaman\n[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-Zaman-brightgreen.svg?style=flat)](http://android-arsenal.com/details/1/4832) [![GPL](https://img.shields.io/aur/license/yaourt.svg)]() [![Maintenance](https://img.shields.io/maintenance/yes/2016.svg)]()\n\nThe library provides a custom `TextView` and  `Helper` for Android to convert `timestamp` to time `String`.\nThe library also provides a `singleton` thread that automatically updates the `TextView` .\n`Zaman` also provides a helper that returns the relative time according to the `timestamp` sent.\n`Zaman` means `Time` in `Arabic` and we named it that since our library works with time and the developers first language is `Arabic`.\n\n### Screenshot\n![Zaman](https://raw.githubusercontent.com/Morxander/Zaman/master/screenshot.png)\n\n### Download\n\nDownload via Gradle:\n\n```gradle\ncompile 'morxander.zaman:Zaman:1.0.0'\n```\n\n### Usage\n#### Using ZamanTextView\n```xml\n\u003cmorxander.zaman.ZamanTextView\n        android:id=\"@+id/ztv\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"wrap_content\" /\u003e\n```\n\nIn activity class:\n```java\nZamanTextView ztv = (ZamanTextView) findViewById(R.id.ztv);\nztv.setTimeStamp(1481554570);\n```\n\n#### Using ZamanUtil ( The Helper )\n\n```java\nZamanUtil zamanUtil = new ZamanUtil(1481554570);\nzamanUtil.getTime(); // Returns the time string\n```\n\n### How It Works\n\n![How](https://raw.githubusercontent.com/Morxander/Zaman/master/howitworks.png)\n\n\n### License \nGNU GENERAL PUBLIC LICENSE 3\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMorxander%2FZaman","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FMorxander%2FZaman","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMorxander%2FZaman/lists"}