搜尋套件、儲存庫與 APP 分類

GitHub 儲存庫johnpryan/date_utils

date_utils

用於處理 DateTime 物件的 Dart 工具

date_utils 專案封面
星標
80
分支
53
最近推送(UTC)
2023年12月28日
專案狀態
已封存

原始 README

以下為英文專案原文快照,最新內容請造訪 GitHub。

date_utils

CI

A Dart library to manipulate DateTimes. Useful for creating calendar functionality.

Example

See Packages:

Tzolkin Web Calendar

flutter_calendar

Usage

  1. Add the following to your pubspec.yaml:
dev_dependencies:
    date_utils: ^0.2.0
  1. Run dart pub get

  2. Import the package in your Dart code

import 'package:date_utils/date_utils.dart';
  1. Use the Utils class.
// example
var date = new DateTime(2017, 3);
var lastDay = Utils.lastDayOfMonth(date);
print(lastDay.day);
// => 31
John Ryan GitHub avatar
GitHub 作者

John Ryan ↗

@googlePortland, OR官方網站 ↗
語言Dart

使用的依賴

依賴清單 2 項

如何選擇適合專案的儲存庫?

先依使用情境篩選,再比較專案活躍情況,最後到原始儲存庫確認使用要求。

  1. 透過儲存庫名稱、作者或描述搜尋,再依技術分類縮小範圍。
  2. 綜合星標、分支與最近推送比較專案;星標反映社群關注,不保證品質。
  3. 使用前在 GitHub 確認 README、授權條款與 Issues。

來源與維護

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗