plugins library
All plugins for Hora.
This library exports all available plugins that extend Hora's functionality. Import individual plugins to keep your bundle size small, or import this file to get all plugins at once.
Usage
// Import all plugins at once
import 'package:hora/plugins.dart';
// Or import individual plugins for smaller bundle size
import 'package:hora/src/plugins/advanced_format.dart';
import 'package:hora/src/plugins/relative_time.dart';
Available Plugins
- advanced_format - Extended format tokens (Do, Qo, k, X, etc.)
- buddhist_era - Buddhist Era calendar support
- business_day - Business day calculations with holidays
- calendar - Calendar-style formatting and iteration
- custom_parse_format - Parse dates with custom format patterns
- duration_ext - Enhanced duration manipulation
- fiscal_year - Fiscal year calculations
- locale_data - Access locale-specific data
- min_max - Find min/max dates, clamp ranges
- precision - Precision-aware comparisons and rounding
- recurrence - Generate recurring date patterns
- relative_time - Human-readable relative time
- timezone - Timezone conversions
- week_of_year - ISO and locale-aware week calculations
Classes
- BusinessDayConfig
- Configuration for business day calculations.
- CalendarConfig
- Configuration for calendar formatting.
- DateTimeKeys
- Keys used in date-time object maps.
- FiscalPeriod
- Represents a fiscal year period.
- FiscalYearConfig
- Configuration for fiscal year calculations.
- HolidayCalendar
- A calendar of holidays for business day calculations.
- HoraDurationFactory
- Factory class for creating durations with fractional values.
- HoraMinMax
- Utility class for min/max operations on Hora.
- HoraObject
- Factory for creating Hora from maps.
- HoraParser
- Custom format parser for Hora.
- HoraTimezone
- Represents a timezone with a fixed UTC offset.
- LocaleData
- Provides access to locale-specific data.
- LocalizedFormatPresets
- Common localized format presets for different locales.
- MinMaxResult
- Result containing both min and max values.
- MonthCalendar
- Represents a calendar month with weeks.
- ParseResult
- Result of parsing a date string.
- Recurrence
- Represents a recurrence rule for generating date sequences.
- RelativeTimeConfig
- Configuration for relative time formatting.
- RelativeTimeDiff
- Represents a detailed breakdown of time difference.
- RelativeTimeThresholds
- Thresholds for determining which unit to use in relative time.
- TimezoneRange
- Represents a time range with timezone awareness.
- UpdatedLocale
- A wrapper locale that overrides specific properties of a base locale.
- WeekConfig
- Configuration for week calculations.
- WeekYearConfig
- Configuration for week year calculations.
- YearCalendar
- Represents a year calendar with months.
Enums
- CalendarEra
- Alternative calendar era systems.
- RelativeTimeUnit
- Represents a relative time unit for formatting.
- RoundingMode
- Represents a rounding mode for time operations.
- TimePrecision
- Represents different levels of time precision.
- WeekNumbering
- Week numbering system.
Extensions
- AdvancedFormatExt on Hora
- Extension providing advanced formatting capabilities.
- BuddhistEraExt on Hora
- Extension providing Buddhist Era calendar support.
- BusinessDayExt on Hora
- Extension providing business day calculations.
- CalendarExt on Hora
- Extension providing calendar functionality for Hora.
- CalendarIterationExt on Hora
- Extension for calendar iteration.
- FiscalYearExt on Hora
- Extension providing fiscal year calculations for Hora.
- HoraBuddhistEraFactory on Hora
- Creates a Hora from Buddhist Era components.
- HoraCustomParseExt on Hora
- Extension for Hora providing custom format parsing.
- HoraDurationExtUtils on HoraDuration
- Extended duration utilities.
- HoraDurationOpExt on Hora
- Extension for Hora to work with HoraDuration.
- HoraGlobalLocaleExtension on Hora
- Extension for updating global locale.
-
HoraIterableMinMaxExt
on Iterable<
Hora> -
Extension providing min/max operations for
Iterable<Hora>. -
HoraListMinMaxExt
on List<
Hora> -
Extension for
List<Hora>with in-place sorting. - LocaleDataExt on Hora
- Extension providing locale data access for Hora.
- LocaleIterationExt on LocaleData
- Extension providing locale iteration utilities.
- LocaleWeekYearExtension on Hora
- Extension for getting week year using locale settings.
- LocalizedFormatExtension on Hora
- Extension on Hora for localized formatting.
- MinMaxExt on Hora
- Extension providing min/max operations for Hora.
- MultiEraCalendarExt on Hora
- Extension for multi-era calendar support.
- ObjectSupportExtension on Hora
- Extension on Hora for object-based operations.
- PrecisionExt on Hora
- Extension providing precision operations for Hora.
- PrecisionIterationExt on Hora
- Extension for precision-aware iteration.
- RecurrenceExt on Hora
- Extension providing recurrence-related utilities for Hora.
- RelativeTimePluginExt on Hora
- Extension providing relative time formatting for Hora.
- TimePrecisionExt on TimePrecision
- Extension to convert TimePrecision to TemporalUnit.
- TimezoneConstructorExt on Hora
- Extension for creating timezone-aware Hora instances.
- TimezoneExt on Hora
- Extension providing timezone operations for Hora.
- UpdateLocaleExtension on HoraLocale
- Extension on HoraLocale for updating locale data.
- WeekIterationExt on Hora
- Extension for week iteration.
- WeekOfYearExt on Hora
- Extension providing week calculations for Hora.
- WeekYearExtension on Hora
- Extension on Hora for week year operations.