public String getYear(int type)
	{
		if (allow(type&ID3V1))
		{
			return id3v1.getYear();
		}
		if (allow(type&ID3V2))
		{
			return id3v2.getFrameDataString(ID3v2Frames.YEAR);
		}
		return null;
	}
public String getYear ( int type ) { if ( allow ( type & ID3V1 ) ) { return id3v1 . getYear ( ) ; } if ( allow ( type & ID3V2 ) ) { return id3v2 . getFrameDataString ( ID3v2Frames . YEAR ) ; } return null ; }
Returns the year of this mp3 if set and the empty string if not.

@return the year of this mp3
@exception ID3v2FormatException if the data of this field is incorrect