Mapping Summary for ('org.joda.time.DateTime', 'java.time.ZonedDateTime')

Match Replace Instances isVeryGood isGood isChange Relevant Instances Commits Project Link
new DateTime(:[v0].millis()) ZonedDateTime.now(:[v0]) 2 False False True 2 ['9b64558efb71f1564cd97c02e427a52f521cef8c'] ['elasticsearch'] Link
WatcherDateTimeUtils.parseDateMath(:[v1],:[v2],DateTimeZone.UTC,:[v0]) WatcherDateTimeUtils.parseDateMath(:[v1],:[v2],ZoneOffset.UTC,:[v0]) 2 False False True 2 ['9b64558efb71f1564cd97c02e427a52f521cef8c'] ['elasticsearch'] Link
new DateTime(:[v0].millis()) :[v0].instant().atZone(ZoneOffset.UTC) 7 False False True 7 ['9b64558efb71f1564cd97c02e427a52f521cef8c'] ['elasticsearch'] Link
new DateTime().withZone(DateTimeZone.UTC) ZonedDateTime.now(ZoneOffset.UTC) 1 False False True 1 ['263f6ae65647088ff883f19b0dc253e7883f72aa'] ['cas'] Link
DateTime.parse(new ISOStandardDateFormat().getCurrentDateAndTime()) ZonedDateTime.now(ZoneOffset.UTC) 1 False False True 1 ['263f6ae65647088ff883f19b0dc253e7883f72aa'] ['cas'] Link
:[v0] DateTimeUtils.zonedDateTimeOf(:[v0]) 1 False False True 1 ['263f6ae65647088ff883f19b0dc253e7883f72aa'] ['cas'] Link
:[TCIVar].toDateTime(issueInstanceUtc.getZone()) :[TCIVar] 2 False False True 2 ['1ca4cbe2c26b613cc6de0f8bbf6ebb3dc13bf448'] ['pac4j'] Link
new DateTime(:[v0],DateTimeZone.UTC) ZonedDateTime.ofInstant(Instant.ofEpochMilli(:[v0]),ZoneOffset.UTC) 2 False True True 2 ['9b64558efb71f1564cd97c02e427a52f521cef8c', 'ac4e0f1b1d34d913b7d5394ba99794e06186d757'] ['elasticsearch'] Link
new DateTime(:[v0].millis(),UTC) :[v0].instant().atZone(ZoneOffset.UTC) 8 False False True 8 ['9b64558efb71f1564cd97c02e427a52f521cef8c'] ['elasticsearch'] Link
this.getIssuedOn().isBefore(:[TCIVar]) this.issuedOn.isBefore(:[TCIVar]) 1 False False True 1 ['263f6ae65647088ff883f19b0dc253e7883f72aa'] ['cas'] Link
start.withTime(23,59,59,999) start.withHour(23).withMinute(59).withSecond(59).withNano(0) 1 False False True 1 ['2b7d69328cd54068d32d47dc06a37e15b20c5fce'] ['presto'] Link
:[TCIVar].toDate() Date.from(:[TCIVar].toInstant()) 1 False False True 1 ['afcdbd2bc03a9df3b5a45b6f7dfcc2b5e52df404'] ['elasticsearch'] Link
:[TCIVar] :[TCIVar].plusSeconds(this.skewAllowance) 1 False False True 1 ['263f6ae65647088ff883f19b0dc253e7883f72aa'] ['cas'] Link
DateTime.now(DateTimeZone.UTC) ZonedDateTime.now(DateUtils.UTC) 1 False False True 1 ['f8e333b117915add0e68aeaac0640b50a85ff5fb'] ['elasticsearch'] Link
:[TCIVar].getMillis() :[TCIVar].toInstant().toEpochMilli() 7 False True True 7 ['85b4bfe3ff119b3b7fa48631c6fc4a0bf9e1816d', '9b64558efb71f1564cd97c02e427a52f521cef8c', 'afcdbd2bc03a9df3b5a45b6f7dfcc2b5e52df404'] ['elasticsearch'] Link
:[v0].minusMillis(:[v1]) :[v0].minus(:[v1],ChronoUnit.MILLIS) 1 False False True 1 ['263f6ae65647088ff883f19b0dc253e7883f72aa'] ['cas'] Link
:[TCIVar].getHourOfDay() :[TCIVar].getHour() 3 False False True 3 ['9b64558efb71f1564cd97c02e427a52f521cef8c'] ['elasticsearch'] Link
end.minusDays(maxHistoryDays - 1).withTimeAtStartOfDay() end.minusDays(maxHistoryDays - 1).withHour(0).withMinute(0).withSecond(0).withNano(0) 1 False False True 1 ['2b7d69328cd54068d32d47dc06a37e15b20c5fce'] ['presto'] Link
:[v2].value(:[v5].formatJoda(:[TCIVar])).field(:[v4],:[v0].toLowerCase(:[v3])).endObject() :[v2].value(:[v5].format(:[TCIVar])).field(:[v4],:[v0].toLowerCase(:[v3])).endObject() 1 False False True 1 ['9b64558efb71f1564cd97c02e427a52f521cef8c'] ['elasticsearch'] Link
new DateTime(ISOChronology.getInstance()) ZonedDateTime.now(Clock.systemUTC()) 1 False False True 1 ['85b4bfe3ff119b3b7fa48631c6fc4a0bf9e1816d'] ['elasticsearch'] Link
new DateTime(:[v0],UTC) Instant.ofEpochMilli((long):[v0]).atZone(ZoneOffset.UTC) 1 False False True 1 ['9b64558efb71f1564cd97c02e427a52f521cef8c'] ['elasticsearch'] Link
new AtopSplit(:[v1],:[v2],:[TCIVar]) new AtopSplit(:[v1],:[v2],:[TCIVar].toEpochSecond(),start.getZone()) 1 False False True 1 ['2b7d69328cd54068d32d47dc06a37e15b20c5fce'] ['presto'] Link
:[v3].on(:[v2]).at(:[TCIVar].getHourOfDay(),:[TCIVar].getMinuteOfHour()).build() :[v3].on(:[v2]).at(:[TCIVar].getHour(),:[TCIVar].getMinute()).build() 1 False False True 1 ['9b64558efb71f1564cd97c02e427a52f521cef8c'] ['elasticsearch'] Link
:[v0].toDateTime(DateTimeZone.UTC) ZonedDateTime.ofInstant(:[v0],ZoneOffset.UTC) 1 False False True 1 ['1ca4cbe2c26b613cc6de0f8bbf6ebb3dc13bf448'] ['pac4j'] Link
:[TCIVar].getMinuteOfHour() :[TCIVar].getMinute() 3 False False True 3 ['9b64558efb71f1564cd97c02e427a52f521cef8c'] ['elasticsearch'] Link
:[TCIVar].getMonthOfYear() :[TCIVar].getMonthValue() 3 False False True 3 ['ac4e0f1b1d34d913b7d5394ba99794e06186d757'] ['elasticsearch'] Link
DateTime.now() ZonedDateTime.now(ZoneOffset.UTC) 3 False False True 3 ['263f6ae65647088ff883f19b0dc253e7883f72aa'] ['cas'] Link
DateTime.now(DateTimeZone.UTC) ZonedDateTime.now(ZoneOffset.UTC) 19 True True True 19 ['1ca4cbe2c26b613cc6de0f8bbf6ebb3dc13bf448', '85b4bfe3ff119b3b7fa48631c6fc4a0bf9e1816d', '9b64558efb71f1564cd97c02e427a52f521cef8c'] ['elasticsearch', 'pac4j'] Link
DateTime.now().withZone(:[v0]) ZonedDateTime.now(:[v0]) 1 False False True 1 ['2b7d69328cd54068d32d47dc06a37e15b20c5fce'] ['presto'] Link
new DateTime(DateTimeZone.UTC) ZonedDateTime.now(ZoneOffset.UTC) 5 False True True 5 ['9b64558efb71f1564cd97c02e427a52f521cef8c', 'ac4e0f1b1d34d913b7d5394ba99794e06186d757', 'afcdbd2bc03a9df3b5a45b6f7dfcc2b5e52df404'] ['elasticsearch'] Link
ValueSet.ofRanges(Range.range(:[v4],:[TCIVar].getMillis(),:[v2],:[v1].getMillis(),:[v2])) ValueSet.ofRanges(Range.range(:[v4],1000 * :[TCIVar].toEpochSecond(),:[v2],1000 * :[v1].toEpochSecond(),:[v2])) 1 False False True 1 ['2b7d69328cd54068d32d47dc06a37e15b20c5fce'] ['presto'] Link
ISODateTimeFormat.dateTime().print(:[TCIVar]) FORMATTER.format(:[TCIVar]) 1 False False True 1 ['6c5a7387af086381da34db6103fc711dd8350b14'] ['elasticsearch'] Link
:[TCIVar].getMillis() :[TCIVar] 5 False False True 5 ['9b64558efb71f1564cd97c02e427a52f521cef8c'] ['elasticsearch'] Link
:[v2].at(:[TCIVar].getHourOfDay(),:[TCIVar].getMinuteOfHour()).build() :[v2].at(:[TCIVar].getHour(),:[TCIVar].getMinute()).build() 2 False False True 2 ['9b64558efb71f1564cd97c02e427a52f521cef8c'] ['elasticsearch'] Link
new DateTime(Clock.systemUTC().millis()) ZonedDateTime.now(ZoneOffset.UTC) 1 False False True 1 ['9b64558efb71f1564cd97c02e427a52f521cef8c'] ['elasticsearch'] Link
new DateTime(Clock.systemUTC().millis()) Clock.systemUTC().instant().atZone(ZoneOffset.UTC) 1 False False True 1 ['9b64558efb71f1564cd97c02e427a52f521cef8c'] ['elasticsearch'] Link
new DateTime(:[v0],DateTimeZone.UTC) Instant.ofEpochMilli(:[v0]).atZone(ZoneOffset.UTC) 4 False True True 4 ['85b4bfe3ff119b3b7fa48631c6fc4a0bf9e1816d', '9b64558efb71f1564cd97c02e427a52f521cef8c'] ['elasticsearch'] Link
:[TCIVar] :[TCIVar].toEpochSecond() 1 False False True 1 ['2b7d69328cd54068d32d47dc06a37e15b20c5fce'] ['presto'] Link
new DateTime(:[v2].millis(),UTC).withDayOfWeek(:[v4]).withHourOfDay(:[v3]).withMinuteOfHour(:[v1]).withSecondOfMinute(:[v0]) :[v2].instant().atZone(ZoneOffset.UTC).with(ChronoField.DAY_OF_WEEK,:[v4]).with(ChronoField.HOUR_OF_DAY,:[v3]).with(ChronoField.MINUTE_OF_HOUR,:[v1]).with(ChronoField.SECOND_OF_MINUTE,:[v0]) 1 False False True 1 ['9b64558efb71f1564cd97c02e427a52f521cef8c'] ['elasticsearch'] Link
new DateTime(ISOChronology.getInstanceUTC()) ZonedDateTime.now(ZoneOffset.UTC) 2 False False True 2 ['ac4e0f1b1d34d913b7d5394ba99794e06186d757'] ['elasticsearch'] Link
:[v0].print(:[TCIVar]) :[v0].format(:[TCIVar]) 4 True True True 4 ['683b53afeb8da28eab9c21b8156983875c99a6a2', '9b64558efb71f1564cd97c02e427a52f521cef8c'] ['elasticsearch', 'camel'] Link
:[TCIVar]=:[v1].parseJoda(:[v2]) :[TCIVar]=DateFormatters.from(:[v1].parse(:[v2])) 3 False False True 3 ['9b64558efb71f1564cd97c02e427a52f521cef8c'] ['elasticsearch'] Link
TimeValue.timeValueMillis(:[TCIVar].getMillis() - :[v1].getMillis()) TimeValue.timeValueMillis(:[TCIVar].toInstant().toEpochMilli() - :[v1].toInstant().toEpochMilli()) 2 False False True 2 ['85b4bfe3ff119b3b7fa48631c6fc4a0bf9e1816d'] ['elasticsearch'] Link
:[v0].parseJoda(:[v1]) DateFormatters.from(:[v0].parse(:[v1])) 3 False False True 3 ['9b64558efb71f1564cd97c02e427a52f521cef8c'] ['elasticsearch'] Link
new DateTime(:[v2].millis(),UTC).withMinuteOfHour(:[v1]).withSecondOfMinute(:[v0]) :[v2].instant().atZone(ZoneOffset.UTC).with(ChronoField.MINUTE_OF_HOUR,:[v1]).with(ChronoField.SECOND_OF_MINUTE,:[v0]) 1 False False True 1 ['9b64558efb71f1564cd97c02e427a52f521cef8c'] ['elasticsearch'] Link
new DateTime(:[v3],:[v4],:[v4],:[v2],:[v2],DateTimeZone.UTC) ZonedDateTime.of(:[v3],:[v4],:[v4],:[v2],:[v2],:[v2],:[v2],ZoneOffset.UTC) 1 False False True 1 ['85b4bfe3ff119b3b7fa48631c6fc4a0bf9e1816d'] ['elasticsearch'] Link
:[v0].warn(:[v2],this.getIssuedOn(),:[TCIVar]) :[v0].warn(:[v2],this.issuedOn,:[TCIVar]) 1 False False True 1 ['263f6ae65647088ff883f19b0dc253e7883f72aa'] ['cas'] Link
new DateTime(:[v0]) ZonedDateTime.from(:[v0]) 2 False False True 2 ['263f6ae65647088ff883f19b0dc253e7883f72aa'] ['cas'] Link
:[TCIVar]=parseDate(currentFieldName,parser,UTC) :[TCIVar]=parseDate(currentFieldName,parser,ZoneOffset.UTC) 3 False False True 3 ['9b64558efb71f1564cd97c02e427a52f521cef8c'] ['elasticsearch'] Link
new DateTime(Clock.systemUTC().millis(),UTC) ZonedDateTime.now(ZoneOffset.UTC) 3 False False True 3 ['9b64558efb71f1564cd97c02e427a52f521cef8c'] ['elasticsearch'] Link
new DateTime(:[v0].millis()) :[v0].instant().atZone(ZoneId.systemDefault()) 1 False False True 1 ['9b64558efb71f1564cd97c02e427a52f521cef8c'] ['elasticsearch'] Link
:[v2].startObject().field(Field.TIMESTAMP.getPreferredName()).value(dateTimeFormatter.formatJoda(timestamp)).field(:[v1],:[v0]).endObject() :[v2].startObject().field(Field.TIMESTAMP.getPreferredName()).value(dateTimeFormatter.format(timestamp)).field(:[v1],:[v0]).endObject() 1 False False True 1 ['9b64558efb71f1564cd97c02e427a52f521cef8c'] ['elasticsearch'] Link
new DateTime(:[v0],UTC) Instant.ofEpochMilli(:[v0]).atZone(ZoneOffset.UTC) 2 False False True 2 ['9b64558efb71f1564cd97c02e427a52f521cef8c'] ['elasticsearch'] Link
:[v5].warn(:[v3],:[v2],:[TCIVar].toDateTime(issueInstanceUtc.getZone()),:[v0].toDateTime(issueInstanceUtc.getZone()),:[v4]) :[v5].warn(:[v3],:[v2],:[TCIVar],:[v0],:[v4]) 1 False False True 1 ['1ca4cbe2c26b613cc6de0f8bbf6ebb3dc13bf448'] ['pac4j'] Link
this.getRetrievedOn().plusMillis(:[v0]) this.retrievedOn.plus(:[v0],ChronoUnit.MILLIS) 1 False False True 1 ['263f6ae65647088ff883f19b0dc253e7883f72aa'] ['cas'] Link
new DateTime(DateTimeZone.UTC).minus(:[v0]) ZonedDateTime.now(ZoneOffset.UTC).minus(:[v0],ChronoUnit.MILLIS) 1 False False True 1 ['85b4bfe3ff119b3b7fa48631c6fc4a0bf9e1816d'] ['elasticsearch'] Link
new DateTime(UTC) Instant.ofEpochMilli(fixedClock.millis()).atZone(ZoneOffset.UTC) 1 False False True 1 ['9b64558efb71f1564cd97c02e427a52f521cef8c'] ['elasticsearch'] Link
:[TCIVar]=WatcherDateTimeUtils.parseDateMath(:[v3],:[v2],DateTimeZone.UTC,:[v1]) :[TCIVar]=WatcherDateTimeUtils.parseDateMath(:[v3],:[v2],ZoneOffset.UTC,:[v1]) 2 False False True 2 ['9b64558efb71f1564cd97c02e427a52f521cef8c'] ['elasticsearch'] Link
Instant.ofEpochMilli(:[TCIVar].getMillis()) :[TCIVar].toInstant() 5 False False True 5 ['9b64558efb71f1564cd97c02e427a52f521cef8c'] ['elasticsearch'] Link
new DateTime(2015,11,5,0,0,0,0,DateTimeZone.UTC) ZonedDateTime.of(localDateTime,ZoneOffset.UTC) 1 False False True 1 ['9b64558efb71f1564cd97c02e427a52f521cef8c'] ['elasticsearch'] Link
:[[v0]].plusMillis(50) :[v0].toInstant().plusMillis(50).atZone(ZoneOffset.UTC) 2 False False True 2 ['9b64558efb71f1564cd97c02e427a52f521cef8c'] ['elasticsearch'] Link
:[v0].formatJoda(:[TCIVar]) :[v0].format(:[TCIVar]) 3 False False True 3 ['9b64558efb71f1564cd97c02e427a52f521cef8c'] ['elasticsearch'] Link
new DateTime(:[v2].millis(),UTC).withHourOfDay(:[v3]).withMinuteOfHour(:[v1]).withSecondOfMinute(:[v0]) :[v2].instant().atZone(ZoneOffset.UTC).with(ChronoField.HOUR_OF_DAY,:[v3]).with(ChronoField.MINUTE_OF_HOUR,:[v1]).with(ChronoField.SECOND_OF_MINUTE,:[v0]) 1 False False True 1 ['9b64558efb71f1564cd97c02e427a52f521cef8c'] ['elasticsearch'] Link
new DateTime(:[v0]) DateTimeUtils.zonedDateTimeOf(:[v0]) 3 False False True 3 ['263f6ae65647088ff883f19b0dc253e7883f72aa'] ['cas'] Link
new DateTime() ZonedDateTime.now(ZoneOffset.UTC) 1 False False True 1 ['263f6ae65647088ff883f19b0dc253e7883f72aa'] ['cas'] Link
:[TCIVar] :[TCIVar].toInstant() 8 False True True 8 ['85b4bfe3ff119b3b7fa48631c6fc4a0bf9e1816d', '9b64558efb71f1564cd97c02e427a52f521cef8c', 'afcdbd2bc03a9df3b5a45b6f7dfcc2b5e52df404'] ['elasticsearch'] Link
(DateTime):[v0] (ZonedDateTime):[v0] 3 True True True 3 ['683b53afeb8da28eab9c21b8156983875c99a6a2', '9b64558efb71f1564cd97c02e427a52f521cef8c', 'f8e333b117915add0e68aeaac0640b50a85ff5fb'] ['elasticsearch', 'camel'] Link
:[v5].warn(:[v3],:[v2],:[v1].toDateTime(issueInstanceUtc.getZone()),:[TCIVar].toDateTime(issueInstanceUtc.getZone()),:[v4]) :[v5].warn(:[v3],:[v2],:[v1],:[TCIVar],:[v4]) 1 False False True 1 ['1ca4cbe2c26b613cc6de0f8bbf6ebb3dc13bf448'] ['pac4j'] Link
:[TCIVar]=readOptionalDate(in,UTC) :[TCIVar]=readOptionalDate(in) 2 False False True 2 ['9b64558efb71f1564cd97c02e427a52f521cef8c'] ['elasticsearch'] Link
DateTime.now(UTC) ZonedDateTime.now(ZoneOffset.UTC) 19 False False True 19 ['9b64558efb71f1564cd97c02e427a52f521cef8c'] ['elasticsearch'] Link
:[TCIVar].getMillis() 1000 * :[TCIVar].toEpochSecond() 1 False False True 1 ['2b7d69328cd54068d32d47dc06a37e15b20c5fce'] ['presto'] Link