Skip to content

Commit eb1aa93

Browse files
Merge pull request #120 from wmde/getYearGone
Remove now unused TimeValue.getYear
2 parents 61706b5 + f2ab5ff commit eb1aa93

File tree

2 files changed

+3
-13
lines changed

2 files changed

+3
-13
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ On [Packagist](https://packagist.org/packages/data-values/javascript):
1212
## Release notes
1313

1414
### 0.9.0 (dev)
15-
* Deprecated `dataValues.TimeValue.getYear`.
16-
* Removed `dataValues.TimeValue.getMonth`, `getDay`, `getHour`, `getMinute`, and `getSecond`.
17-
* Made `globeCoordinate.GlobeCoordinate.getDecimal` private.
15+
* Removed `dataValues.TimeValue.getYear`, `getMonth`, `getDay`, `getHour`, `getMinute`, and
16+
`getSecond`.
17+
* Declared `globeCoordinate.GlobeCoordinate.getDecimal` private.
1818

1919
### 0.8.4 (2017-07-18)
2020
* Updated JSDoc tags mistakenly requiring objects.

src/values/TimeValue.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -150,16 +150,6 @@ var SELF = dv.TimeValue = util.inherit( 'DvTimeValue', PARENT, function( timesta
150150
return this.toJSON();
151151
},
152152

153-
/**
154-
* @since 0.7
155-
* @deprecated since 0.9
156-
*
157-
* @return {string}
158-
*/
159-
getYear: function() {
160-
return /^[+-]\d+/.exec( this.timestamp )[0];
161-
},
162-
163153
/**
164154
* @inheritdoc
165155
*/

0 commit comments

Comments
 (0)