date_utilities 0.1.0-dev-7 date_utilities: ^0.1.0-dev-7 copied to clipboard
A simple dart API with a complete set of date helper methods not available in the DateTime API hence, production is made easier when working with dates.
We analyzed this package 5 days ago, and awarded it 100 pub points (of a possible 140):
0/10 points: Provide a valid pubspec.yaml
Failed to verify repository URL.
Please provide a valid repository
URL in pubspec.yaml
, such that:
repository
can be cloned,- a clone of the repository contains a
pubspec.yaml
, which:,- contains
name: date_utilities
, - contains a
version
property, and, - does not contain a
publish_to
property.
- contains
Repository has no matching pubspec.yaml
with name: date_utilities
.
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: BSD-3-Clause
.
10/10 points: 20% or more of the public API has dartdoc comments
10 out of 15 API elements (66.7 %) have documentation comments.
Some symbols that are missing documentation: dateUtilities.DateUtilities.day
, dateUtilities.DateUtilities.dayGivenDayOfYear
, dateUtilities.DateUtilities.dayOfWeek
, dateUtilities.DateUtilities.getMonthGivenDayOfYear
, dateUtilities.DateUtilities.getNumberOfDaysGivenMonth
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ Android
- ✓ iOS
- ✓ Windows
- ✓ Linux
- ✓ macOS
These platforms are not supported:
Package not compatible with platform Web
Because:
package:date_utilities/date_utilities.dart
that imports:package:date_utilities/src/date_utilities_base.dart
that imports:dart:io
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 14 issues. Showing the first 2:
WARNING: The value of the local variable 'daysOfMonth' isn't used.
lib/src/date_utilities_base.dart:120:9
╷
120 │ var daysOfMonth = getNumberOfDaysGivenMonth(month - 1, year);
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/date_utilities_base.dart
WARNING: The value of the local variable 'ans' isn't used.
lib/src/date_utilities_base.dart:122:9
╷
122 │ var ans = 0;
│ ^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/date_utilities_base.dart
10/10 points: All of the package dependencies are supported in the latest version
No dependencies.
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
10/10 points: Package supports latest stable Dart and Flutter SDKs
Analyzed with Pana 0.22.3
, Dart 3.3.3
.
Check the analysis log for details.