MCPcopy Create free account
hub / github.com/MenoData/Time4J / getID

Method getID

base/src/main/java/net/time4j/UnitPatterns.java:449–459  ·  view source on GitHub ↗
(IsoUnit unit)

Source from the content-addressed store, hash-verified

447 }
448
449 private static char getID(IsoUnit unit) {
450
451 char unitID = unit.getSymbol();
452
453 if (unit == ClockUnit.MINUTES) {
454 return 'N';
455 }
456
457 return unitID;
458
459 }
460
461 private static String lookup(
462 Locale language,

Callers 1

lookupMethod · 0.95

Calls 1

getSymbolMethod · 0.65

Tested by

no test coverage detected