| Modifier and Type | Field and Description |
|---|---|
| private DateTime | |
| private static final DateTimeFormatter | |
| private boolean | |
| private long | |
| private static final BigDecimal | |
| private static final DateTimeFormatter | |
| private static final BigDecimal | |
| private static final DateTime | |
| private static final Pattern | |
| public static final int | |
| private static final DateTimeFormatter | |
| private static final DateTimeFormatter | |
| private static final DateTimeFormatter | |
| private static final DateTimeFormatter | |
| private static final Pattern | |
| private static final ByteList | |
| public static final String | |
| private IRubyObject |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| private RubyTime | |
| private static RubyTime | |
| public RubyString | |
| public static IRubyObject | |
| public static IRubyObject | |
| public static IRubyObject | |
| public static IRubyObject | |
| private static RubyTime | |
| private static RubyTime | atMulti(ThreadContext context, RubyClass recv, IRubyObject arg1, IRubyObject arg2, IRubyObject arg3, IRubyObject zone)
|
| private static IRubyObject | atOpts(ThreadContext context, IRubyObject recv, IRubyObject arg1, IRubyObject arg2, IRubyObject arg3, IRubyObject opts)
|
| public RubyTime | |
| private int | |
| public static double | |
| public static RubyClass | |
| public RubyString | |
| public RubyString | |
| public RubyString | |
| public IRubyObject | |
| private static long | |
| private IRubyObject | |
| public RubyTime | |
| public RubyBoolean | |
| public DateTime | |
| public int | |
| public static String | |
| public static String | |
| public RubyTime | |
| public int | |
| private DateTime | |
| public Class | getJavaClass()
Overrides org. Implements org. Will return the Java interface that most closely can represent this object, when working through Java integration translations. |
| public Date | |
| public final RubyTime | |
| public RubyTime | |
| public RubyTime | |
| public static DateTimeZone | |
| public static DateTimeZone | |
| public int | |
| public int | |
| public int | |
| public int | |
| public ClassIndex | getNativeClassIndex()
Overrides org. Implements org. This is overridden in the other concrete Java builtins to provide a fast way to determine what type they are. |
| private int | |
| public long | |
| public static String | Returns: ""
Deprecated
since 10.0. Use
RubyTime#getRubyTimeZoneName(ThreadContext, DateTime) instead.
|
| public static String | |
| public static String | |
| public int | |
| public long | |
| public long | |
| public static DateTimeZone | |
| public static DateTimeZone | |
| private static DateTimeZone | getTimeZoneFromHHMM(ThreadContext context, String name, boolean positive, String hours, String minutes, String seconds)
|
| public static DateTimeZone | |
| public static DateTimeZone | |
| public static DateTimeZone | |
| public static DateTimeZone | |
| private RubyString | |
| public static DateTimeZone | |
| public static DateTimeZone | |
| public long | Returns: the micro-second only part of this timeGet the micro-second (only) part of the time. |
| public int | |
| public String | |
| public RubyBoolean | |
| public RubyBoolean | |
| public RubyInteger | |
| public RubyInteger | |
| public RubyTime | |
| public RubyTime | |
| public RubyFixnum | hash(ThreadContext
the current thread context context)Overrides org. Will return the hash code of this object. |
| public int | hashCode()
Overrides org. This override does not do "checked" dispatch since Object usually has #hash defined. |
| public RubyInteger | |
| public RubyInteger | |
| private static boolean | |
| public IRubyObject | |
| public IRubyObject | |
| private IRubyObject | initialize(ThreadContext context, IRubyObject year, IRubyObject month, IRubyObject day, IRubyObject hour, IRubyObject minute, IRubyObject second, IRubyObject usec)
|
| public IRubyObject | initialize(ThreadContext context, IRubyObject year, IRubyObject month, IRubyObject day, IRubyObject hour, IRubyObject minute, IRubyObject second, IRubyObject usec, IRubyObject zone)
|
| public IRubyObject | initialize_copy(ThreadContext
the thread context context, IRubyObject the original original)Overrides org. Initializes this object as a copy of the original, that is the parameter to this object. |
| private IRubyObject | |
| public IRubyObject | inspect(ThreadContext context)
Overrides org. Overrides default org. Returns a string containing a human-readable representation of obj. |
| public static RaiseException | Returns: ""
Deprecated
since 10.0. Use
RubyTime#invalidUTCOffset(ThreadContext) instead
|
| public static RaiseException | |
| public static RaiseException | Returns: ""
Deprecated
since 10.0. Use
RubyTime#invalidUTCOffset(ThreadContext) instead
|
| public static RaiseException | |
| public RubyBoolean | |
| public RubyBoolean | |
| public boolean | |
| public static RubyTime | |
| public static RubyTime | |
| public static RubyTime | |
| public final RubyTime | |
| public RubyTime | |
| public RubyTime | |
| private static boolean | |
| public RubyInteger | |
| public RubyInteger | |
| public RubyObject | |
| private RubyString | |
| public long | |
| public RubyInteger | |
| public RubyInteger | |
| public RubyBoolean | |
| public RubyInteger | |
| public RubyInteger | |
| public static IRubyObject | newInstance(ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block)
Deprecated
Use
newInstance(ThreadContext, IRubyObject, IRubyObject[])
|
| public static RubyTime | |
| public static RubyTime | |
| public static RubyTime | |
| public static RubyTime | |
| public static RubyTime | |
| public static RubyTime | |
| public RubyInteger | Returns: the (sec) fractional part of time (in nanos)Get the fractional part of time in nanoseconds. |
| public RubyInteger | |
| private static RubyNumeric | |
| public IRubyObject | |
| public IRubyObject | op_eqq(ThreadContext context, IRubyObject other)
Overrides org. Implements org. rb_equal The Ruby "===" method is used by default in case/when statements. |
| public IRubyObject | op_equal(ThreadContext context, IRubyObject other)
Overrides org. Implements org. rb_obj_equal Will by default use identity equality to compare objects. |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| private RubyFloat | |
| private RubyTime | |
| private RubyTime | |
| private static DateTimeZone | |
| private static DateTimeZone | |
| public RubyTime | |
| private static RubyTime | |
| public static IRubyObject | s_new(IRubyObject recv, IRubyObject[] args, Block block)
Deprecated
Use
newInstance(ThreadContext, IRubyObject, IRubyObject[])
|
| private static int | |
| public RubyBoolean | |
| public RubyInteger | |
| public RubyInteger | |
| public void | |
| private void | |
| public void | |
| public void | |
| public void | |
| public void | setNSec(long
the nano second part only (4 to 9 decimal places) of time nsec)Set the nano-second (only) part for this time. |
| public void | |
| public void | |
| private static JavaSites. | sites(ThreadContext context)
Hides org. Retrieve the call sites for this class. |
| public RubyString | |
| public RubyString | |
| public IRubyObject | |
| public RubyNumeric | |
| public RubyBoolean | |
| public RubyBoolean | |
| private IRubyObject | |
| public static RubyTime | |
| private static DateTimeZone | |
| public RubyArray | |
| public RubyFloat | |
| public RubyInteger | |
| public RubyInteger | |
| public long | |
| public IRubyObject | |
| public IRubyObject | |
| public Instant | |
| public <T> T | toJava(Class<T>
The target type to which the object should be converted. target)Overrides org. Implements org. Convert the object to the specified Java class, if possible. |
| public LocalDateTime | |
| public OffsetDateTime | |
| public String | toString()
Overrides org. The default toString method is just a wrapper that calls the Ruby "to_s" method. |
| public ZonedDateTime | |
| public RubyBoolean | |
| public void | |
| public RubyInteger | Returns: the (whole) microsecond part of timeGet the microsecond part of this time value. |
| public RubyInteger | |
| public static RubyTime | |
| public RubyInteger | |
| public RubyInteger | |
| public RubyBoolean | |
| public RubyInteger | |
| public RubyInteger | |
| public RubyInteger | |
| public RubyInteger | |
| public IRubyObject | |
| public IRubyObject | |
| public static boolean | |
| public static boolean |