DateTimeExtension extension

on

Properties

timeString String
no setter

Methods

isSameDate(DateTime? other) bool
isSameMonth(DateTime other) bool
isSameWeek(DateTime other) bool
weekNumber() int
Calculates week number from a date as per https://en.wikipedia.org/wiki/ISO_week_date#Calculation

Static Methods

numOfWeeks(int year) int