Class ZonedDateTimeConverter
java.lang.Object
com.sk89q.worldedit.command.argument.ZonedDateTimeConverter
- All Implemented Interfaces:
org.enginehub.piston.converter.ArgumentConverter<ZonedDateTime>,org.enginehub.piston.converter.Converter<ZonedDateTime>,org.enginehub.piston.converter.SuggestionProvider
public class ZonedDateTimeConverter
extends Object
implements org.enginehub.piston.converter.ArgumentConverter<ZonedDateTime>
-
Method Summary
Modifier and TypeMethodDescriptionorg.enginehub.piston.converter.ConversionResult<ZonedDateTime> com.sk89q.worldedit.util.formatting.text.Componentstatic voidregister(org.enginehub.piston.CommandManager commandManager) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.enginehub.piston.converter.ArgumentConverter
getSuggestions
-
Method Details
-
register
public static void register(org.enginehub.piston.CommandManager commandManager) -
describeAcceptableArguments
public com.sk89q.worldedit.util.formatting.text.Component describeAcceptableArguments()- Specified by:
describeAcceptableArgumentsin interfaceorg.enginehub.piston.converter.ArgumentConverter<ZonedDateTime>
-
convert
public org.enginehub.piston.converter.ConversionResult<ZonedDateTime> convert(String argument, org.enginehub.piston.inject.InjectedValueAccess context) - Specified by:
convertin interfaceorg.enginehub.piston.converter.Converter<ZonedDateTime>
-