FullCalenderExtension class

Constructors

FullCalenderExtension()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

checkIsDateBefore({required dynamic fromDate, required dynamic toDate}) bool?
Check if the param fromDate is before the param toDate. Both fromDate and toDate need be a object of DateTime or LunarDateTime. If passing another type the result will return null.
convertJulianDayToSolarDate(int jd) DateTime
Convert a Julian day number to day/month/year. Parameter jd is an integer.
convertLunarDateToJulianDay(LunarDateTime lunarDateTime, [int timeZone = 7]) int
Convert lunar date to the julian day.
convertLunarDateToSolarDate(LunarDateTime lunarDateTime, [int timeZone = 7]) DateTime?
Convert lunar date to the corresponding solar date.
getLunarDateNext({required dynamic fromDate, required int rangeDays}) LunarDateTime?
Get Lunar Date after rangeDays from fromDate. The fromDate need be a object of DateTime or LunarDateTime. If passing another type the result will return null. You can pass the negative for date before.
getSolarDateNext({required dynamic fromDate, required int rangeDays}) DateTime?
Get Solar Date after rangeDays from fromDate. The fromDate need be a object of DateTime or LunarDateTime. If passing another type the result will return null. You can pass the negative for date before.
rangeOf2Dates({required dynamic fromDate, required dynamic toDate}) int?
Get number of date from fromDate to toDate. Both fromDate and toDate need be a object of DateTime or LunarDateTime. If passing another type the result will return null.