MCPcopy Create free account
hub / github.com/oshi/oshi / getYear

Method getYear

oshi-core/src/main/java/oshi/util/EdidUtil.java:118–123  ·  view source on GitHub ↗

Return the year of manufacture @param edid The EDID byte array @return The year of manufacture

(byte[] edid)

Source from the content-addressed store, hash-verified

116 * @return The year of manufacture
117 */
118 public static int getYear(byte[] edid) {
119 // Byte 17 is manufacture year-1990
120 byte temp = edid[17];
121 LOG.debug("Year-1990: {}", temp);
122 return temp + 1990;
123 }
124
125 /**
126 * Return the EDID version

Callers 2

testGetEdidAttrsMethod · 0.95
toStringMethod · 0.95

Calls

no outgoing calls

Tested by 1

testGetEdidAttrsMethod · 0.76