{"version":3,"file":"dl-model-provider-year.d.ts","sources":["dl-model-provider-year.d.ts"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AACA","sourcesContent":["/**\r\n * @license\r\n * Copyright 2013-present Dale Lotts All Rights Reserved.\r\n * http://www.dalelotts.com\r\n *\r\n * Use of this source code is governed by an MIT-style license that can be\r\n * found in the LICENSE file at https://github.com/dalelotts/angular-bootstrap-datetimepicker/blob/master/LICENSE\r\n */\r\nimport { SimpleChanges } from '@angular/core';\r\nimport { DlDateTimePickerModel } from './dl-date-time-picker-model';\r\nimport { DlModelProvider } from './dl-model-provider';\r\n/**\r\n * Default implementation for the `year` view.\r\n */\r\nexport declare class DlYearModelProvider implements DlModelProvider {\r\n    /**\r\n     * Create a moment at midnight january 1 at the start of the current decade.\r\n     * The start of the decade is always a year ending in zero.\r\n     *\r\n     * @param fromMilliseconds\r\n     *  the moment in time from which the start of the decade will be determined.\r\n     * @returns\r\n     *  moment at midnight january 1 at the start of the current decade.\r\n     * @internal\r\n     */\r\n    private static getStartOfDecade;\r\n    /**\r\n     * Receives input changes detected by Angular.\r\n     *\r\n     * @param changes\r\n     *  the input changes detected by Angular.\r\n     */\r\n    onChanges(changes: SimpleChanges): void;\r\n    /**\r\n     * Returns the `year` model for the specified moment in `local` time with the\r\n     * `active` year set to January 1 of the specified year.\r\n     *\r\n     * The `year` model represents a decade (10 years) as two rows with five columns.\r\n     *\r\n     * The decade always starts on a year ending with zero.\r\n     *\r\n     * Each cell represents midnight January 1 of the indicated year.\r\n     *\r\n     * The `active` year will be the January 1 of year of the specified milliseconds.\r\n     *\r\n     * @param milliseconds\r\n     *  the moment in time from which the year model will be created.\r\n     * @param selectedMilliseconds\r\n     *  the current value of the date/time picker.\r\n     * @returns\r\n     *  the model representing the specified moment in time.\r\n     */\r\n    getModel(milliseconds: number, selectedMilliseconds: number): DlDateTimePickerModel;\r\n    /**\r\n     * Move the active `year` one row `down` from the specified moment in time.\r\n     *\r\n     * The `active` year will be the January 1 `five (5) years after` the specified milliseconds.\r\n     * This moves the `active` date one row `down` in the current `year` view.\r\n     *\r\n     * Moving `down` can result in the `active` year being part of a different decade than\r\n     * the specified `fromMilliseconds`, in this case the decade represented by the model\r\n     * will change to show the correct decade.\r\n     *\r\n     * @param fromMilliseconds\r\n     *  the moment in time from which the next `year` model `down` will be constructed.\r\n     * @param selectedMilliseconds\r\n     *  the current value of the date/time picker.\r\n     * @returns\r\n     *  model containing an `active` `year` one row `down` from the specified moment in time.\r\n     */\r\n    goDown(fromMilliseconds: number, selectedMilliseconds: number): DlDateTimePickerModel;\r\n    /**\r\n     * Move the active `year` one row `up` from the specified moment in time.\r\n     *\r\n     * The `active` year will be the January 1 `five (5) years before` the specified milliseconds.\r\n     * This moves the `active` date one row `up` in the current `year` view.\r\n     *\r\n     * Moving `up` can result in the `active` year being part of a different decade than\r\n     * the specified `fromMilliseconds`, in this case the decade represented by the model\r\n     * will change to show the correct decade.\r\n     *\r\n     * @param fromMilliseconds\r\n     *  the moment in time from which the previous `year` model `up` will be constructed.\r\n     * @param selectedMilliseconds\r\n     *  the current value of the date/time picker.\r\n     * @returns\r\n     *  model containing an `active` `year` one row `up` from the specified moment in time.\r\n     */\r\n    goUp(fromMilliseconds: number, selectedMilliseconds: number): DlDateTimePickerModel;\r\n    /**\r\n     * Move the `active` `year` one (1) year to the `left` of the specified moment in time.\r\n     *\r\n     * The `active` year will be the January 1 `one (1) year before` the specified milliseconds.\r\n     * This moves the `active` date one year `left` in the current `year` view.\r\n     *\r\n     * Moving `left` can result in the `active` year being part of a different decade than\r\n     * the specified `fromMilliseconds`, in this case the decade represented by the model\r\n     * will change to show the correct decade.\r\n     *\r\n     * @param fromMilliseconds\r\n     *  the moment in time from which the `year` model to the `left` will be constructed.\r\n     * @param selectedMilliseconds\r\n     *  the current value of the date/time picker.\r\n     * @returns\r\n     *  model containing an `active` `year` one year to the `left` of the specified moment in time.\r\n     */\r\n    goLeft(fromMilliseconds: number, selectedMilliseconds: number): DlDateTimePickerModel;\r\n    /**\r\n     * Move the `active` `year` one (1) year to the `right` of the specified moment in time.\r\n     *\r\n     * The `active` year will be the January 1 `one (1) year after` the specified milliseconds.\r\n     * This moves the `active` date one year `right` in the current `year` view.\r\n     *\r\n     * Moving `right` can result in the `active` year being part of a different decade than\r\n     * the specified `fromMilliseconds`, in this case the decade represented by the model\r\n     * will change to show the correct decade.\r\n     *\r\n     * @param fromMilliseconds\r\n     *  the moment in time from which the `year` model to the `right` will be constructed.\r\n     * @param selectedMilliseconds\r\n     *  the current value of the date/time picker.\r\n     * @returns\r\n     *  model containing an `active` `year` one year to the `right` of the specified moment in time.\r\n     */\r\n    goRight(fromMilliseconds: number, selectedMilliseconds: number): DlDateTimePickerModel;\r\n    /**\r\n     * Move the active `year` one decade `down` from the specified moment in time.\r\n     *\r\n     * The `active` year will be the January 1 `ten (10) years after` the specified milliseconds.\r\n     * This moves the `active` date one `page` `down` from the current `year` view.\r\n     *\r\n     * Paging `down` will result in the `active` year being part of a different decade than\r\n     * the specified `fromMilliseconds`. As a result, the decade represented by the model\r\n     * will change to show the correct decade.\r\n     *\r\n     * @param fromMilliseconds\r\n     *  the moment in time from which the next `year` model page `down` will be constructed.\r\n     * @param selectedMilliseconds\r\n     *  the current value of the date/time picker.\r\n     * @returns\r\n     *  model containing an `active` `year` one decade `down` from the specified moment in time.\r\n     */\r\n    pageDown(fromMilliseconds: number, selectedMilliseconds: number): DlDateTimePickerModel;\r\n    /**\r\n     * Move the active `year` one decade `up` from the specified moment in time.\r\n     *\r\n     * The `active` year will be the January 1 `ten (10) years before` the specified milliseconds.\r\n     * This moves the `active` date one `page-up` from the current `year` view.\r\n     *\r\n     * Paging `up` will result in the `active` year being part of a different decade than\r\n     * the specified `fromMilliseconds`. As a result, the decade represented by the model\r\n     * will change to show the correct decade.\r\n     *\r\n     * @param fromMilliseconds\r\n     *  the moment in time from which the next `year` model page `up` will be constructed.\r\n     * @param selectedMilliseconds\r\n     *  the current value of the date/time picker.\r\n     * @returns\r\n     *  model containing an `active` `year` one decade `up` from the specified moment in time.\r\n     */\r\n    pageUp(fromMilliseconds: number, selectedMilliseconds: number): DlDateTimePickerModel;\r\n    /**\r\n     * Move the `active` `year` to the `last` year in the decade.\r\n     *\r\n     * The view or time range will not change unless the `fromMilliseconds` value\r\n     * is in a different decade than the displayed decade.\r\n     *\r\n     * @param fromMilliseconds\r\n     *  the moment in time from which the `last` active `year` will be calculated.\r\n     * @param selectedMilliseconds\r\n     *  the current value of the date/time picker.\r\n     * @returns\r\n     *  a model with the `last` cell in the view as the active `year`.\r\n     */\r\n    goEnd(fromMilliseconds: number, selectedMilliseconds: number): DlDateTimePickerModel;\r\n    /**\r\n     * Move the `active` `year` to the `first` year in the decade.\r\n     *\r\n     * The view or time range will not change unless the `fromMilliseconds` value\r\n     * is in a different decade than the displayed decade.\r\n     *\r\n     * @param fromMilliseconds\r\n     *  the moment in time from which the `first` active `year` will be calculated.\r\n     * @param selectedMilliseconds\r\n     *  the current value of the date/time picker.\r\n     * @returns\r\n     *  a model with the `first` cell in the view as the active `year`.\r\n     */\r\n    goHome(fromMilliseconds: number, selectedMilliseconds: number): DlDateTimePickerModel;\r\n}\r\n"]}