contract ScheduleStandard is Schedule {

    constructor(uint256 _tokenReleaseDate) Schedule(_tokenReleaseDate) public {
    }

    /// @notice Calculates the percent of tokens that may be claimed at this time
    /// @return Number of tokens vested
    function vestedPercent() public view returns (uint256) {
        uint256 percentReleased = 0;

        if(now < tokenReleaseDate) {
            percentReleased = 0;
            
        } else if(now >= getReleaseTime(5)) {
            percentReleased = 100;

        } else if(now >= getReleaseTime(4)) {
            percentReleased = 85;

        } else if(now >= getReleaseTime(3)) {
            percentReleased = 70;

        } else if(now >= getReleaseTime(2)) {
            percentReleased = 55;

        } else if(now >= getReleaseTime(1)) {
            percentReleased = 30;

        } else {
            percentReleased = 15;
        }
        return percentReleased;
    }
}
/// @title ScheduleStandard
/// @notice Vesting schedule that releases:
/// @notice  15% at `tokenReleaseDate`,
/// @notice  15% at `tokenReleaseDate + releaseInterval`
/// @notice  25% at `tokenReleaseDate + (2 * releaseInterval)`
/// @notice  15% at `tokenReleaseDate + (3 * releaseInterval)`
/// @notice  15% at `tokenReleaseDate + (4 * releaseInterval)`
/// @notice  15% at `tokenReleaseDate + (5 * releaseInterval)`
function vestedPercent() public view returns (uint256) {
        uint256 percentReleased = 0;

        if(now < tokenReleaseDate) {
            percentReleased = 0;
            
        } else if(now >= getReleaseTime(5)) {
            percentReleased = 100;

        } else if(now >= getReleaseTime(4)) {
            percentReleased = 85;

        } else if(now >= getReleaseTime(3)) {
            percentReleased = 70;

        } else if(now >= getReleaseTime(2)) {
            percentReleased = 55;

        } else if(now >= getReleaseTime(1)) {
            percentReleased = 30;

        } else {
            percentReleased = 15;
        }
        return percentReleased;
    }
/// @notice Calculates the percent of tokens that may be claimed at this time
/// @return Number of tokens vested