Overview
Specialized property observers for Date property paths (year/month/day/utc variants and time).
API Reference
Class exported from property-observer/factories/date-property.
import { DatePropertyObserverManager } from '@rs-x/state-manager';import { DatePropertyObserverManager } from '@rs-x/state-manager';
const instance = new DatePropertyObserverManager(...args);5 members in this class.
constructor(
@Inject(RsXStateManagerInjectionTokens.IDateProxyFactory) private readonly _dateProxyFactory: IDateProxyFactory,
@Inject(RsXCoreInjectionTokens.IErrorLog) private readonly _errorLog: IErrorLog,
@Inject(RsXCoreInjectionTokens.IDatePropertyAccessor) private readonly _datePropertyAccessor: IDatePropertyAccessor
)Parameters
public override createId(date: Date): DateParameters
Returns
Date
public override getId(date: Date): DateParameters
Returns
Date
protected override createInstance(date: Date): IProperForDataObserverManagerParameters
protected override releaseInstance( properForDataObserverManager: IProperForDataObserverManager): voidParameters
Returns
void