Java Code Examples for org.threeten.bp.OffsetDateTime#ofInstant()

The following examples show how to use org.threeten.bp.OffsetDateTime#ofInstant() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: CustomInstantDeserializer.java    From openapi-generator with Apache License 2.0 4 votes vote down vote up
@Override
public OffsetDateTime apply(FromIntegerArguments a) {
  return OffsetDateTime.ofInstant(Instant.ofEpochMilli(a.value), a.zoneId);
}
 
Example 2
Source File: CustomInstantDeserializer.java    From tutorials with MIT License 4 votes vote down vote up
@Override
public OffsetDateTime apply(FromDecimalArguments a) {
  return OffsetDateTime.ofInstant(Instant.ofEpochSecond(a.integer, a.fraction), a.zoneId);
}
 
Example 3
Source File: CustomInstantDeserializer.java    From tutorials with MIT License 4 votes vote down vote up
@Override
public OffsetDateTime apply(FromIntegerArguments a) {
  return OffsetDateTime.ofInstant(Instant.ofEpochMilli(a.value), a.zoneId);
}
 
Example 4
Source File: CustomInstantDeserializer.java    From openapi-generator with Apache License 2.0 4 votes vote down vote up
@Override
public OffsetDateTime apply(FromDecimalArguments a) {
  return OffsetDateTime.ofInstant(Instant.ofEpochSecond(a.integer, a.fraction), a.zoneId);
}
 
Example 5
Source File: CustomInstantDeserializer.java    From openapi-generator with Apache License 2.0 4 votes vote down vote up
@Override
public OffsetDateTime apply(FromIntegerArguments a) {
  return OffsetDateTime.ofInstant(Instant.ofEpochMilli(a.value), a.zoneId);
}
 
Example 6
Source File: CustomInstantDeserializer.java    From openapi-generator with Apache License 2.0 4 votes vote down vote up
@Override
public OffsetDateTime apply(FromDecimalArguments a) {
  return OffsetDateTime.ofInstant(Instant.ofEpochSecond(a.integer, a.fraction), a.zoneId);
}
 
Example 7
Source File: CustomInstantDeserializer.java    From openapi-generator with Apache License 2.0 4 votes vote down vote up
@Override
public OffsetDateTime apply(FromIntegerArguments a) {
  return OffsetDateTime.ofInstant(Instant.ofEpochMilli(a.value), a.zoneId);
}
 
Example 8
Source File: CustomInstantDeserializer.java    From openapi-generator with Apache License 2.0 4 votes vote down vote up
@Override
public OffsetDateTime apply(FromDecimalArguments a) {
  return OffsetDateTime.ofInstant(Instant.ofEpochSecond(a.integer, a.fraction), a.zoneId);
}
 
Example 9
Source File: CustomInstantDeserializer.java    From openapi-generator with Apache License 2.0 4 votes vote down vote up
@Override
public OffsetDateTime apply(FromIntegerArguments a) {
  return OffsetDateTime.ofInstant(Instant.ofEpochMilli(a.value), a.zoneId);
}
 
Example 10
Source File: CustomInstantDeserializer.java    From openapi-generator with Apache License 2.0 4 votes vote down vote up
@Override
public OffsetDateTime apply(FromDecimalArguments a) {
  return OffsetDateTime.ofInstant(Instant.ofEpochSecond(a.integer, a.fraction), a.zoneId);
}
 
Example 11
Source File: CustomInstantDeserializer.java    From openapi-generator with Apache License 2.0 4 votes vote down vote up
@Override
public OffsetDateTime apply(FromIntegerArguments a) {
  return OffsetDateTime.ofInstant(Instant.ofEpochMilli(a.value), a.zoneId);
}
 
Example 12
Source File: CustomInstantDeserializer.java    From openapi-generator with Apache License 2.0 4 votes vote down vote up
@Override
public OffsetDateTime apply(FromDecimalArguments a) {
  return OffsetDateTime.ofInstant(Instant.ofEpochSecond(a.integer, a.fraction), a.zoneId);
}
 
Example 13
Source File: CustomInstantDeserializer.java    From openapi-generator with Apache License 2.0 4 votes vote down vote up
@Override
public OffsetDateTime apply(FromIntegerArguments a) {
  return OffsetDateTime.ofInstant(Instant.ofEpochMilli(a.value), a.zoneId);
}
 
Example 14
Source File: CustomInstantDeserializer.java    From openapi-generator with Apache License 2.0 4 votes vote down vote up
@Override
public OffsetDateTime apply(FromDecimalArguments a) {
  return OffsetDateTime.ofInstant(Instant.ofEpochSecond(a.integer, a.fraction), a.zoneId);
}
 
Example 15
Source File: CustomInstantDeserializer.java    From openapi-generator with Apache License 2.0 4 votes vote down vote up
@Override
public OffsetDateTime apply(FromIntegerArguments a) {
  return OffsetDateTime.ofInstant(Instant.ofEpochMilli(a.value), a.zoneId);
}
 
Example 16
Source File: CustomInstantDeserializer.java    From openapi-generator with Apache License 2.0 4 votes vote down vote up
@Override
public OffsetDateTime apply(FromDecimalArguments a) {
  return OffsetDateTime.ofInstant(Instant.ofEpochSecond(a.integer, a.fraction), a.zoneId);
}
 
Example 17
Source File: CustomInstantDeserializer.java    From openapi-generator with Apache License 2.0 4 votes vote down vote up
@Override
public OffsetDateTime apply(FromIntegerArguments a) {
  return OffsetDateTime.ofInstant(Instant.ofEpochMilli(a.value), a.zoneId);
}
 
Example 18
Source File: CustomInstantDeserializer.java    From openapi-generator with Apache License 2.0 4 votes vote down vote up
@Override
public OffsetDateTime apply(FromDecimalArguments a) {
  return OffsetDateTime.ofInstant(Instant.ofEpochSecond(a.integer, a.fraction), a.zoneId);
}
 
Example 19
Source File: CustomInstantDeserializer.java    From openapi-generator with Apache License 2.0 4 votes vote down vote up
@Override
public OffsetDateTime apply(FromIntegerArguments a) {
  return OffsetDateTime.ofInstant(Instant.ofEpochMilli(a.value), a.zoneId);
}
 
Example 20
Source File: CustomInstantDeserializer.java    From openapi-generator with Apache License 2.0 4 votes vote down vote up
@Override
public OffsetDateTime apply(FromDecimalArguments a) {
  return OffsetDateTime.ofInstant(Instant.ofEpochSecond(a.integer, a.fraction), a.zoneId);
}