public static DateTimeZone getFixedOffsetTimeZone(final TimeZoneAwareEntity account) { return getFixedOffsetTimeZone(account.getTimeZone(), account.getReferenceTime()); }
public InternalCallContext createInternalCallContext(final TimeZoneAwareEntity accountModelDao, final Long accountRecordId, final InternalCallContext context) { // See DefaultImmutableAccountData implementation final DateTimeZone fixedOffsetTimeZone = AccountDateTimeUtils.getFixedOffsetTimeZone(accountModelDao); final DateTime referenceTime = accountModelDao.getReferenceTime(); populateMDCContext(context.getUserToken(), accountRecordId, context.getTenantRecordId()); return new InternalCallContext(context, accountRecordId, fixedOffsetTimeZone, referenceTime, context.getCreatedDate()); }
public static DateTimeZone getFixedOffsetTimeZone(final TimeZoneAwareEntity account) { return getFixedOffsetTimeZone(account.getTimeZone(), account.getReferenceTime()); }
public InternalCallContext createInternalCallContext(final TimeZoneAwareEntity accountModelDao, final Long accountRecordId, final InternalCallContext context) { // See DefaultImmutableAccountData implementation final DateTimeZone fixedOffsetTimeZone = AccountDateTimeUtils.getFixedOffsetTimeZone(accountModelDao); final DateTime referenceTime = accountModelDao.getReferenceTime(); populateMDCContext(context.getUserToken(), accountRecordId, context.getTenantRecordId()); return new InternalCallContext(context, accountRecordId, fixedOffsetTimeZone, referenceTime, context.getCreatedDate()); }