# LocalizedTimestamp

# LocalizedTimestamp

*** ** * ** ***

[Kotlin](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/LocalizedTimestamp "View this page in Kotlin")\|Java  

<br />

```
public final class LocalizedTimestamp
```

<br />

*** ** * ** ***

An object representing a localized timestamp.

## Summary

|                                                                                                                                                ### Nested types                                                                                                                                                |
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `public final class `[LocalizedTimestamp.Builder](https://developer.android.com/reference/com/google/android/engage/common/datamodel/LocalizedTimestamp.Builder) Builder class for[LocalizedTimestamp](https://developer.android.com/reference/com/google/android/engage/common/datamodel/LocalizedTimestamp). |

|                                     ### Public fields                                      |
|--------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------|
| `final `[Instant](https://developer.android.com/reference/org/joda/time/Instant)           | [timestamp](https://developer.android.com/reference/com/google/android/engage/common/datamodel/LocalizedTimestamp#timestamp()) |
| `final `[DateTimeZone](https://developer.android.com/reference/org/joda/time/DateTimeZone) | [timezone](https://developer.android.com/reference/com/google/android/engage/common/datamodel/LocalizedTimestamp#timezone())   |

|                                 ### Public methods                                 |
|------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Instant](https://developer.android.com/reference/org/joda/time/Instant)           | [getTimestamp](https://developer.android.com/reference/com/google/android/engage/common/datamodel/LocalizedTimestamp#getTimestamp())`()` Returns the timestamp for the localized timestamp. |
| [DateTimeZone](https://developer.android.com/reference/org/joda/time/DateTimeZone) | [getTimezone](https://developer.android.com/reference/com/google/android/engage/common/datamodel/LocalizedTimestamp#getTimezone())`()` Returns the timezone for the localized timestamp.    |

## Public fields

### timestamp

```
public final Instant timestamp
```  

### timezone

```
public final DateTimeZone timezone
```  

## Public methods

### getTimestamp

```
public Instant getTimestamp()
```

Returns the timestamp for the localized timestamp.  

### getTimezone

```
public DateTimeZone getTimezone()
```

Returns the timezone for the localized timestamp.