### Question:
BaseDateTimeLib { protected boolean hasZone(String literal) { if (literal == null) { return false; } return literal.endsWith("Z") || literal.endsWith("]") || literal.contains("@"); }   static final DateTimeFormatter FEEL_DATE_FORMAT; static final DateTimeFormatter FEEL_TIME_FORMAT; static final DateTimeFormatter FEEL_DATE_TIME_FORMAT; }### Answer:
@Test public void testHasZone() { assertFalse(this.dateTimeLib.hasZone("12:00:00")); assertTrue(this.dateTimeLib.hasZone("12:00:00Z")); assertTrue(this.dateTimeLib.hasZone("12:00:00[UTC]")); assertTrue(this.dateTimeLib.hasZone("12:00:00@Europe/Paris")); assertFalse(this.dateTimeLib.hasZone("12:00:00+00:00")); assertFalse(this.dateTimeLib.hasZone("12:00:00-00:00")); assertFalse(this.dateTimeLib.hasZone("12:00:00-0000")); assertFalse(this.dateTimeLib.hasZone("12:00:00+0000")); assertFalse(this.dateTimeLib.hasZone("2016-08-01T12:00:00")); assertTrue(this.dateTimeLib.hasZone("2016-08-01T12:00:00Z")); assertTrue(this.dateTimeLib.hasZone("2016-08-01T12:00:00[UTC]")); assertTrue(this.dateTimeLib.hasZone("2016-08-01T12:00:00@Europe/Paris")); assertFalse(this.dateTimeLib.hasZone("2016-08-01T12:00:00+00:00")); assertFalse(this.dateTimeLib.hasZone("2016-08-01T12:00:00-00:00")); assertFalse(this.dateTimeLib.hasZone("2016-08-01T12:00:00-0000")); assertFalse(this.dateTimeLib.hasZone("2016-08-01T12:00:00+0000")); }