Package com.mewna.catnip.entity.partials
Interface Timestamped
- All Known Subinterfaces:
ApplicationCommand
,ApplicationCommandInteraction
,ApplicationCommandInteractionData
,ApplicationInfo
,ApplicationOwner
,AuditLogEntry
,ButtonInteraction
,Category
,Channel
,ChannelMention
,CreatedInvite
,DeletedMessage
,DeletedThread
,DMChannel
,Emoji
,Emoji.ActivityEmoji
,Emoji.CustomEmoji
,Emoji.UnicodeEmoji
,GroupDMChannel
,Guild
,GuildChannel
,HasCreatedAt
,HasUpdatedAt
,Interaction<T>
,InteractionMember
,Invite.InviteChannel
,Invite.InviteGuild
,Invite.Inviter
,Member
,Message
,Message.Attachment
,MessageChannel
,MessageEmbedUpdate
,NewsChannel
,PartialGuild
,PartialMember
,PartialRole
,Permissable
,PermissionOverride
,PresenceUpdate
,Role
,SelectInteraction
,Snowflake
,StageChannel
,Sticker
,StoreChannel
,Team
,Template
,TextChannel
,ThreadChannel
,ThreadChannel.ThreadMember
,ThreadMembersUpdate
,TypingUser
,UnavailableGuild
,User
,UserDMChannel
,VoiceChannel
,VoiceState
,Webhook
- All Known Implementing Classes:
ActivityEmojiImpl
,ApplicationCommandImpl
,ApplicationCommandInteractionDataImpl
,ApplicationCommandInteractionImpl
,ApplicationInfoImpl
,ApplicationOwnerImpl
,AttachmentImpl
,AuditLogEntryImpl
,ButtonInteractionImpl
,CategoryImpl
,ChannelMentionImpl
,ChannelPinsUpdateImpl
,CreatedInviteImpl
,CustomEmojiImpl
,DeletedMessageImpl
,DeletedThreadImpl
,EmbedImpl
,GroupDMChannelImpl
,GuildImpl
,InteractionMemberImpl
,InviteImpl.InviteChannelImpl
,InviteImpl.InviteGuildImpl
,InviteImpl.InviterImpl
,MemberImpl
,MessageEmbedUpdateImpl
,MessageImpl
,NewsChannelImpl
,PartialGuildImpl
,PartialMemberImpl
,PartialRoleImpl
,PermissionOverrideImpl
,PresenceUpdateImpl
,RoleImpl
,SelectInteractionImpl
,StageChannelImpl
,StickerImpl
,StoreChannelImpl
,TeamImpl
,TemplateImpl
,TextChannelImpl
,ThreadChannelImpl
,ThreadChannelImpl.ThreadMemberImpl
,ThreadChannelImpl.ThreadMetadataImpl
,ThreadMembersUpdateImpl
,TypingUserImpl
,UnavailableGuildImpl
,UnicodeEmojiImpl
,UserDMChannelImpl
,UserImpl
,VoiceChannelImpl
,VoiceStateImpl
,WebhookImpl
public interface Timestamped
An entity that has a timestamp.
- Since:
- 10/28/18.
- Author:
- amy
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptiondefault String
asDiscordTimestamp
(OffsetDateTime time, Timestamped.TimestampStyle style) default OffsetDateTime
-
Method Details
-
parseTimestamp
-
asDiscordTimestamp
default String asDiscordTimestamp(@Nonnull OffsetDateTime time, @Nonnull Timestamped.TimestampStyle style)
-