@@ -118,7 +118,7 @@ export abstract class DateAdapter<D> {
118
118
abstract today ( ) : D ;
119
119
120
120
/**
121
- * Parses a date from a user-inputted value.
121
+ * Parses a date from a user-provided value.
122
122
* @param value The value to parse.
123
123
* @param parseFormat The expected format of the value being parsed
124
124
* (type is implementation-dependent).
@@ -188,12 +188,12 @@ export abstract class DateAdapter<D> {
188
188
189
189
/**
190
190
* Attempts to deserialize a value to a valid date object. This is different from parsing in that
191
- * deserialize should only accept non-ambiguous, locale-independent values (e.g. a ISO 8601
191
+ * deserialize should only accept non-ambiguous, locale-independent formats (e.g. a ISO 8601
192
192
* string). The default implementation does not allow any deserialization, it simply checks that
193
193
* the given value is already a valid date object or null. The `<mat-datepicker>` will call this
194
194
* method on all of it's `@Input()` properties that accept dates. It is therefore possible to
195
- * support passing your wire format directly to these properties by overriding this method to
196
- * also deserialize your wire format.
195
+ * support passing values from your backend directly to these properties by overriding this method
196
+ * to also deserialize the format used by your backend .
197
197
* @param value The value to be deserialized into a date object.
198
198
* @returns The deserialized date object, either a valid date, null if the value can be
199
199
* deserialized into a null date (e.g. the empty string).
0 commit comments