Skip to content

Conversation

@roboshoes
Copy link
Contributor

This PR also includes a single date implementation of the selection model and the range implementation.

@roboshoes roboshoes requested a review from mmalerba as a code owner September 7, 2018 18:01
@googlebot googlebot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Sep 7, 2018
abstract isValid(adapter: DateAdapter<D>): boolean;
}

export class MatSingleDateSelection<D> extends MatDateSelection<D> {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should add an asDate method to this so we can get a date to pass back to the user

}
}

export class MatRangeDateSelection<D> extends MatDateSelection<D> {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

similarly, this can have an asRange method

@mmalerba mmalerba merged commit cb854bc into angular:date-range Sep 7, 2018
jelbourn pushed a commit that referenced this pull request Sep 11, 2018
This PR also includes a single date implementation of the selection model and the range implementation.
mmalerba pushed a commit that referenced this pull request Sep 19, 2018
This PR also includes a single date implementation of the selection model and the range implementation.
roboshoes added a commit to roboshoes/material2 that referenced this pull request Oct 16, 2018
This PR also includes a single date implementation of the selection model and the range implementation.
mmalerba pushed a commit that referenced this pull request Oct 16, 2018
This PR also includes a single date implementation of the selection model and the range implementation.
mmalerba pushed a commit that referenced this pull request Oct 23, 2018
This PR also includes a single date implementation of the selection model and the range implementation.
mmalerba pushed a commit that referenced this pull request Oct 30, 2018
This PR also includes a single date implementation of the selection model and the range implementation.
mmalerba pushed a commit that referenced this pull request Oct 31, 2018
This PR also includes a single date implementation of the selection model and the range implementation.
mmalerba pushed a commit that referenced this pull request Dec 14, 2018
* adds an abstract date selection model and a single date and range implementation

* moves adapter to contructor

* adds asDate and asRange convertions

* adds explicit constructors to concrete implementations

* Adds an abstract date selection model (#13033)

This PR also includes a single date implementation of the selection model and the range implementation.

* WIP uses date selectio in calendar

* Observable in MatDateSelection (#13037)

This change adds an observable to the date selection. This allows the usage of a single date selection instance instead of creating multiple.

* test fixes

* small cleanup

* cleanup

* improves calendar body test spec

* fixes tests in month view

* fixes matCalendar tests

* cleared up calendar body tests with date injection

* indent

* cleaning up some nits

* fixes the final tests

* update today programatically

* remove unused file

* nits
mmalerba pushed a commit that referenced this pull request Dec 14, 2018
This PR also includes a single date implementation of the selection model and the range implementation.
mmalerba pushed a commit that referenced this pull request Dec 14, 2018
* adds an abstract date selection model and a single date and range implementation

* moves adapter to contructor

* adds asDate and asRange convertions

* adds explicit constructors to concrete implementations

* Adds an abstract date selection model (#13033)

This PR also includes a single date implementation of the selection model and the range implementation.

* WIP uses date selectio in calendar

* Observable in MatDateSelection (#13037)

This change adds an observable to the date selection. This allows the usage of a single date selection instance instead of creating multiple.

* test fixes

* small cleanup

* cleanup

* improves calendar body test spec

* fixes tests in month view

* fixes matCalendar tests

* cleared up calendar body tests with date injection

* indent

* cleaning up some nits

* fixes the final tests

* update today programatically

* remove unused file

* nits
mmalerba pushed a commit that referenced this pull request Jan 15, 2019
This PR also includes a single date implementation of the selection model and the range implementation.
mmalerba pushed a commit that referenced this pull request Jan 15, 2019
* adds an abstract date selection model and a single date and range implementation

* moves adapter to contructor

* adds asDate and asRange convertions

* adds explicit constructors to concrete implementations

* Adds an abstract date selection model (#13033)

This PR also includes a single date implementation of the selection model and the range implementation.

* WIP uses date selectio in calendar

* Observable in MatDateSelection (#13037)

This change adds an observable to the date selection. This allows the usage of a single date selection instance instead of creating multiple.

* test fixes

* small cleanup

* cleanup

* improves calendar body test spec

* fixes tests in month view

* fixes matCalendar tests

* cleared up calendar body tests with date injection

* indent

* cleaning up some nits

* fixes the final tests

* update today programatically

* remove unused file

* nits
mmalerba pushed a commit to mmalerba/components that referenced this pull request Jan 27, 2019
This PR also includes a single date implementation of the selection model and the range implementation.
mmalerba pushed a commit to mmalerba/components that referenced this pull request Jan 27, 2019
* adds an abstract date selection model and a single date and range implementation

* moves adapter to contructor

* adds asDate and asRange convertions

* adds explicit constructors to concrete implementations

* Adds an abstract date selection model (angular#13033)

This PR also includes a single date implementation of the selection model and the range implementation.

* WIP uses date selectio in calendar

* Observable in MatDateSelection (angular#13037)

This change adds an observable to the date selection. This allows the usage of a single date selection instance instead of creating multiple.

* test fixes

* small cleanup

* cleanup

* improves calendar body test spec

* fixes tests in month view

* fixes matCalendar tests

* cleared up calendar body tests with date injection

* indent

* cleaning up some nits

* fixes the final tests

* update today programatically

* remove unused file

* nits
mmalerba pushed a commit that referenced this pull request Apr 15, 2019
This PR also includes a single date implementation of the selection model and the range implementation.
mmalerba pushed a commit that referenced this pull request Apr 15, 2019
* adds an abstract date selection model and a single date and range implementation

* moves adapter to contructor

* adds asDate and asRange convertions

* adds explicit constructors to concrete implementations

* Adds an abstract date selection model (#13033)

This PR also includes a single date implementation of the selection model and the range implementation.

* WIP uses date selectio in calendar

* Observable in MatDateSelection (#13037)

This change adds an observable to the date selection. This allows the usage of a single date selection instance instead of creating multiple.

* test fixes

* small cleanup

* cleanup

* improves calendar body test spec

* fixes tests in month view

* fixes matCalendar tests

* cleared up calendar body tests with date injection

* indent

* cleaning up some nits

* fixes the final tests

* update today programatically

* remove unused file

* nits
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla: yes PR author has agreed to Google's Contributor License Agreement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants