@anglr/datetime
Advanced tools
Changelog
Version 3.0.0 (2022-05-04)
undefined
DateApiObject
interface
startOfHour
method, that updates value to start date and time of current hourendOfHour
method, that updates value to end date and time of current houraddHours
method, that add hours, if count not specified adds 1 hoursubtractHours
method, that subtract hours, if count not specified subtract 1 hourstartOfMinute
method, that updates value to start date and time of current minuteendOfMinute
method, that updates value to end date and time of current minuteaddMinutes
method, that add minutes, if count not specified adds 1 minutesubtractMinutes
method, that subtract minutes, if count not specified subtract 1 minutehour
method, that gets or sets hours zero basedminute
method, that gets or sets minutes zero basedDateTimeRelativeParser
now supports hours and minutes as relative valuesDateApi
interface
isDate
method, that tests whether is value TDateFormatProvider
interface
year
property, that is format token for displaying full yearmonth
property, that is format token for displaying month double digit numberweek
property, that is format token for displaying week double digit numberday
property, that is format token for displaying day double digit numberhour
property, that is format token for displaying hour (24h format) double digit numberminute
property, that is format token for displaying minute double digit numbersecond
property, that is format token for displaying second double digit numberdayName
property, that is format token for displaying standalone day full namedayNameShort
property, that is format token for displaying standalone day short namemonthName
property, that is format token for displaying standalone month full namemonthNameShort
property, that is format token for displaying standalone month short nameDateTimeSelectorOptions
interface
pickerAbsolute
property, that is indication whether use absolute positioning of pickerpositionOptions
property, that is position options that are used in case of absolute pickerpickerAbsoluteContainer
property, that is css selector for absolute picker containerPickerImplBaseComponent
abstract component, that is base class used as base for picker as base implementation of DateTimePicker interfacePickerBaseComponent
now extends PickerImplBaseComponent
DateTimePickerRendererDirective
directive, that is used for rendering datetime picker in selector
options
current options used by selectordateTimePicker
current selected valueminValue
gets or sets minimal possible value for picker, that can be pickedmaxValue
gets or sets maximal possible value for picker, that can be pickedselectorElement
selector element which is used during absolute positioning of pickervalueChange
occurs when value changesDateTimeDayPickerComponent
component now supports scaling down to timeCommonPickerCssClasses
interface
clickable
property, that is name of css class that represents clickable items in pickerDateTimeRollerTimePickerComponent
component used for rendering roller time pickerRollerTimePickerCssClasses
interface, that holds specific css classes for roller time pickerLoopScrollDirective
directive that renders loop scroll for array of elements
"loopScroll"
loopScroll
value that is being set in loop scrollopen
indication whether is currently selection scroll openloopScrollChange
occurs when current value of loop scroll changesLoopScrollDataDirective
, that is array of items that are loop scrolledLoopScrollData
interface, that represents data for LoopScrollDirectiveLoopScrollDataDirective
directive, that is loop scroll data that are used inside LoopScrollDirective
"loopScrollData"
loopScrollData
data for loopclone
indication that this node is cloneInputDateTimeSelectorComponent
now supports hours and minutesDateValueProvider
now supports hours and minutes@anglr/datetime/moment
MomentDateApi
DateApi
interfaceMomentDateApiObject
to correspond with DateApiObject
interfaceMOMENT_FORMAT_PROVIDER
to correspond with FormatProvider
interface@anglr/datetime/date-fns
DateFnsDateApi
DateApi
interfaceDateFnsDateApiObject
to correspond with DateApiObject
interfaceDATEFNS_FORMAT_PROVIDER
to correspond with FormatProvider
interface@anglr/common
is 11.2.0
AsRequiredTypePipe
replaced with one from @anglr/common
DateTimePickerOptions
and DateTimeSelectorOptions
have now all properties required, and options are now passed as Partial
CommonPickerCssClasses
have now all properties required, and setting is now passed as Partial