In both C++ and Java, DriverStation.getMatchTime() makes an assumption that Autonomous is 15 seconds, and will return the wrong time this year, now that autonomous is only 10 seconds. This assumption is documented in the header for the method
Code:
* This returns the time since the enable signal sent from the Driver Station
* At the beginning of autonomous, the time is reset to 0.0 seconds
* At the beginning of teleop, the time is reset to +15.0 seconds
Bugs have been filed for C++ and Java:
http://firstforge.wpi.edu/sf/go/artf1712
http://firstforge.wpi.edu/sf/go/artf1716
Thanks Michael from 281 for finding the issue and reporting the bug.