Ein reiner Dart-Paket mit einer Sammlung von nepalesischen Hilfsprogrammen wie Datumskonverter, Datumsformatierer, DateTime, nepalesische Zahlen, nepalesisches Unicode, nepalesische Momente und vieles mehr.
Aus öffentlichen Paketdaten erstellte Orientierung.
nepali_utils ist ein reiner Dart-Paket, das umfassende Hilfsmittel für die Arbeit mit der nepalesischen Sprache und Kultur bietet. Es enthält Werkzeuge zum Umrechnen zwischen Gregorianer und Bikram Sambat Kalender, Formatieren nepalesischer Daten, Umgang mit nepalesischen Ziffern, Verwaltung nepalesischer Unicode-Zeichen und Darstellung nepalesischer Momente. Speziell für Entwickler konzipiert, die sich an nepalesischsprachige Zielgruppen richten, vereinfacht es Lokalisierungsaufgaben über mehrere Plattformen hinweg.
Anwendungsfälle
Apps für nepalesische Nutzer lokalisieren
Umwandlung von Gregorianischen in nepalesische Daten
Nepalesische Zahlen und Daten formatieren
Unterstützung von Nepali-Unicode-Text
Kulturell relevante digitale Erlebnisse schaffen
Integration nepalesischer Kalendersysteme
Hauptmerkmale
Gregorianische in nepalesische Datumskonvertierung
nepalesische Zahlformatierung
Nepalesisch-Unicode-Unterstützung
Datumsformatierer für nepalesischen Kalender
Plattformübergreifende Kompatibilität
Einfache Integration über Flutter pub
Geeignet für
Flutter-Apps für Nepal
Entwickler, die mehrsprachige Apps erstellen
Apps, die Unterstützung für das nepalesische Kalenderdatum benötigen
Projekte zur Lokalisierung der nepalesischen Sprache
Dart-basierte Tools, die kulturelle Datumsverarbeitung erfordern
Hinweise
Erfordert Verständnis des nepalesischen Kalendersystems
Beschränkt auf nepalesische Funktionen
Möglicherweise sind zusätzliche Lokalisierungsebenen erforderlich
Nicht geeignet für nicht-nepalesische Kontexte
Hängt von genauen Eingabedaten für Umrechnungen ab
Original-README
Originaler README-Schnappschuss aus dem verknüpften Quell-Repository. Aktuelle Inhalte finden Sie im Repository.
Nepali Utilities for Dart
A pure dart package with collection of Nepali Utilities like Date converter, Date formatter, DateTime, Nepali Number, Nepali Unicode, Nepali Moments and many more.
Utility Classes
NepaliDateTime
DateConversion
NepaliDateFormat
NepaliNumberFormat
NepaliUnicode
NepaliMoment
many yet to come
Language Setup
Default language for Nepali Utility classes can be set as:
voidmain(){
NepaliUtils(Language.nepali);
}
This is completely optional. Default language will be English if not set.
Nepali Date Time
The class is similar to dart:core's DateTime class, except that, this works with Bikram Sambat.
print(NepaliMoment.fromBS(NepaliDateTime.parse('2076-03-22T08:41:14')));
// २२ दिन पछि
Here, the current DateTime is 2076-02-32 19:09:25 i.e. reference date
print(NepaliMoment.fromBS(NepaliDateTime.parse('2076-02-32T18:25:14'),
referenceDate: NepaliDateTime.parse('2076-02-32T18:34:14')));
// ९ मिनेट पहिलेprint(NepaliMoment.fromAD(DateTime.parse('2019-06-02T18:22:14'),
referenceDate: DateTime.parse('2019-06-15T18:34:14')));
// १३ दिन पहिले
If you want to contribute to the package, please feel free to submit issues or PR at Github Repo.
Also show some love by staring the repo :star:, if you like the package.
License
Copyright (c) 2020SarbagyaDhaubanjarPermissionis hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Softwareis
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.