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 14 days ago, and awarded it 120 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
Failed to verify repository URL.
Repository has no matching pubspec.yaml with name: date_utilities.
Please provide a valid repository URL in pubspec.yaml, such that:
repositorycan be cloned,- a clone of the repository contains a
pubspec.yaml, which:,- contains
name: date_utilities, - contains a
versionproperty, and, - does not contain a
publish_toproperty.
- contains
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 16 API elements (62.5 %) have documentation comments.
Some symbols that are missing documentation: dateUtilities.DateUtilities.DateUtilities.new, dateUtilities.DateUtilities.day, dateUtilities.DateUtilities.dayGivenDayOfYear, dateUtilities.DateUtilities.dayOfWeek, dateUtilities.DateUtilities.getMonthGivenDayOfYear.
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.dartthat imports:package:date_utilities/src/date_utilities_base.dartthat 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
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.3, Dart 3.10.4.
Check the analysis log for details.