Java Doc for RubyTime.java in  » Scripting » jruby » org » jruby » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Scripting » jruby » org.jruby 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.jruby.RubyObject
      org.jruby.RubyTime

RubyTime
public class RubyTime extends RubyObject (Code)
The Time class.
author:
   chadfowler, jpetersen


Field Summary
final public static  StringUTC
    

Constructor Summary
public  RubyTime(Ruby runtime, RubyClass rubyClass)
    
public  RubyTime(Ruby runtime, RubyClass rubyClass, Calendar cal)
    

Method Summary
public  RubyStringasctime()
    
public static  RubyClasscreateTimeClass(Ruby runtime)
    
public  RubyStringdump(IRubyObject[] args, Block unusedBlock)
    
public  IRubyObjecteql_p(IRubyObject other)
    
public  CalendargetJavaCalendar()
    
public  DategetJavaDate()
    
public static  TimeZonegetLocalTimeZone(Ruby runtime)
    
protected  longgetTimeInMillis()
    
public  longgetUSec()
    
public  RubyTimegetgm()
    
public  RubyTimegetlocal()
    
public  RubyBooleangmt()
    
public  RubyIntegergmt_offset()
    
public  RubyTimegmtime()
    
public  RubyFixnumhash()
    
public  RubyIntegerhour()
    
public  IRubyObjectinitialize(IRubyObject[] args, Block block)
    
public  IRubyObjectinitialize_copy(IRubyObject original)
    
public  RubyBooleanisdst()
    
public  RubyTimelocaltime()
    
public  RubyIntegermday()
    
public  RubyObjectmdump(IRubyObject[] args)
    
public  longmicroseconds()
    
public  RubyIntegermin()
    
public  RubyIntegermonth()
    
public static  RubyTimenewTime(Ruby runtime, long milliseconds)
    
public static  RubyTimenewTime(Ruby runtime, Calendar cal)
    
public static  IRubyObjectnew_at(IRubyObject recv, IRubyObject[] args)
    
public static  RubyTimenew_local(IRubyObject recv, IRubyObject[] args)
    
public static  RubyTimenew_utc(IRubyObject recv, IRubyObject[] args)
    
public  IRubyObjectop_cmp(IRubyObject other)
    
public  IRubyObjectop_ge(IRubyObject other)
    
public  IRubyObjectop_gt(IRubyObject other)
    
public  IRubyObjectop_le(IRubyObject other)
    
public  IRubyObjectop_lt(IRubyObject other)
    
public  IRubyObjectop_minus(IRubyObject other)
    
public  IRubyObjectop_plus(IRubyObject other)
    
public static  RubyTimes_load(IRubyObject recv, IRubyObject from, Block block)
    
protected static  RubyTimes_mload(IRubyObject recv, RubyTime time, IRubyObject from)
    
public static  IRubyObjects_new(IRubyObject recv, IRubyObject[] args, Block block)
    
public  IRubyObjectsame2(IRubyObject other)
    
public  RubyIntegersec()
    
public  voidsetJavaCalendar(Calendar cal)
    
public  voidsetMicroseconds(long mic)
    
public  voidsetUSec(long usec)
    
public  RubyStringstrftime(IRubyObject format)
    
public  RubyTimesucc()
    
public  RubyArrayto_a()
    
public  RubyFloatto_f()
    
public  RubyIntegerto_i()
    
public  IRubyObjectto_s()
    
public  voidupdateCal(Calendar calendar)
    
public  RubyIntegerusec()
    
public  RubyIntegerwday()
    
public  RubyIntegeryday()
    
public  RubyIntegeryear()
    
public  RubyStringzone()
    

Field Detail
UTC
final public static String UTC(Code)




Constructor Detail
RubyTime
public RubyTime(Ruby runtime, RubyClass rubyClass)(Code)



RubyTime
public RubyTime(Ruby runtime, RubyClass rubyClass, Calendar cal)(Code)




Method Detail
asctime
public RubyString asctime()(Code)



createTimeClass
public static RubyClass createTimeClass(Ruby runtime)(Code)



dump
public RubyString dump(IRubyObject[] args, Block unusedBlock)(Code)



eql_p
public IRubyObject eql_p(IRubyObject other)(Code)



getJavaCalendar
public Calendar getJavaCalendar()(Code)



getJavaDate
public Date getJavaDate()(Code)



getLocalTimeZone
public static TimeZone getLocalTimeZone(Ruby runtime)(Code)



getTimeInMillis
protected long getTimeInMillis()(Code)



getUSec
public long getUSec()(Code)



getgm
public RubyTime getgm()(Code)



getlocal
public RubyTime getlocal()(Code)



gmt
public RubyBoolean gmt()(Code)



gmt_offset
public RubyInteger gmt_offset()(Code)



gmtime
public RubyTime gmtime()(Code)



hash
public RubyFixnum hash()(Code)



hour
public RubyInteger hour()(Code)



initialize
public IRubyObject initialize(IRubyObject[] args, Block block)(Code)



initialize_copy
public IRubyObject initialize_copy(IRubyObject original)(Code)



isdst
public RubyBoolean isdst()(Code)



localtime
public RubyTime localtime()(Code)



mday
public RubyInteger mday()(Code)



mdump
public RubyObject mdump(IRubyObject[] args)(Code)



microseconds
public long microseconds()(Code)



min
public RubyInteger min()(Code)



month
public RubyInteger month()(Code)



newTime
public static RubyTime newTime(Ruby runtime, long milliseconds)(Code)



newTime
public static RubyTime newTime(Ruby runtime, Calendar cal)(Code)



new_at
public static IRubyObject new_at(IRubyObject recv, IRubyObject[] args)(Code)



new_local
public static RubyTime new_local(IRubyObject recv, IRubyObject[] args)(Code)



new_utc
public static RubyTime new_utc(IRubyObject recv, IRubyObject[] args)(Code)



op_cmp
public IRubyObject op_cmp(IRubyObject other)(Code)



op_ge
public IRubyObject op_ge(IRubyObject other)(Code)



op_gt
public IRubyObject op_gt(IRubyObject other)(Code)



op_le
public IRubyObject op_le(IRubyObject other)(Code)



op_lt
public IRubyObject op_lt(IRubyObject other)(Code)



op_minus
public IRubyObject op_minus(IRubyObject other)(Code)



op_plus
public IRubyObject op_plus(IRubyObject other)(Code)



s_load
public static RubyTime s_load(IRubyObject recv, IRubyObject from, Block block)(Code)



s_mload
protected static RubyTime s_mload(IRubyObject recv, RubyTime time, IRubyObject from)(Code)



s_new
public static IRubyObject s_new(IRubyObject recv, IRubyObject[] args, Block block)(Code)



same2
public IRubyObject same2(IRubyObject other)(Code)



sec
public RubyInteger sec()(Code)



setJavaCalendar
public void setJavaCalendar(Calendar cal)(Code)



setMicroseconds
public void setMicroseconds(long mic)(Code)



setUSec
public void setUSec(long usec)(Code)



strftime
public RubyString strftime(IRubyObject format)(Code)



succ
public RubyTime succ()(Code)



to_a
public RubyArray to_a()(Code)



to_f
public RubyFloat to_f()(Code)



to_i
public RubyInteger to_i()(Code)



to_s
public IRubyObject to_s()(Code)



updateCal
public void updateCal(Calendar calendar)(Code)



usec
public RubyInteger usec()(Code)



wday
public RubyInteger wday()(Code)



yday
public RubyInteger yday()(Code)



year
public RubyInteger year()(Code)



zone
public RubyString zone()(Code)



Fields inherited from org.jruby.RubyObject
final public static IRubyObject NEVER(Code)(Java Doc)
public static ObjectAllocator OBJECT_ALLOCATOR(Code)(Java Doc)
protected Map instanceVariables(Code)(Java Doc)
protected boolean isTrue(Code)(Java Doc)
protected RubyClass metaClass(Code)(Java Doc)

Methods inherited from org.jruby.RubyObject
public void addFinalizer(RubyProc finalizer)(Code)(Java Doc)
public IRubyObject anyToString()(Code)(Java Doc)
public RubyString asString()(Code)(Java Doc)
public String asSymbol()(Code)(Java Doc)
public void attachToObjectSpace()(Code)(Java Doc)
public void callInit(IRubyObject[] args, Block block)(Code)(Java Doc)
public IRubyObject callMethod(ThreadContext context, String name, IRubyObject[] args)(Code)(Java Doc)
public IRubyObject callMethod(ThreadContext context, String name, IRubyObject[] args, Block block)(Code)(Java Doc)
public IRubyObject callMethod(ThreadContext context, String name, IRubyObject[] args, CallType callType)(Code)(Java Doc)
public IRubyObject callMethod(ThreadContext context, String name, IRubyObject[] args, CallType callType, Block block)(Code)(Java Doc)
public IRubyObject callMethod(ThreadContext context, int methodIndex, String name, IRubyObject arg)(Code)(Java Doc)
public IRubyObject callMethod(ThreadContext context, int methodIndex, String name, IRubyObject[] args)(Code)(Java Doc)
public IRubyObject callMethod(ThreadContext context, int methodIndex, String name, IRubyObject[] args, CallType callType)(Code)(Java Doc)
public IRubyObject callMethod(ThreadContext context, RubyModule rubyclass, int methodIndex, String name, IRubyObject[] args, CallType callType)(Code)(Java Doc)
public IRubyObject callMethod(ThreadContext context, RubyModule rubyclass, int methodIndex, String name, IRubyObject[] args, CallType callType, Block block)(Code)(Java Doc)
public IRubyObject callMethod(ThreadContext context, RubyModule rubyclass, String name, IRubyObject[] args, CallType callType, Block block)(Code)(Java Doc)
public IRubyObject callMethod(ThreadContext context, String name)(Code)(Java Doc)
public IRubyObject callMethod(ThreadContext context, int methodIndex, String name)(Code)(Java Doc)
public IRubyObject callMethod(ThreadContext context, String name, Block block)(Code)(Java Doc)
public IRubyObject callMethod(ThreadContext context, String name, IRubyObject arg)(Code)(Java Doc)
public static IRubyObject callMethodMissing(ThreadContext context, IRubyObject receiver, DynamicMethod method, String name, int methodIndex, IRubyObject[] args, IRubyObject self, CallType callType, Block block)(Code)(Java Doc)
public static IRubyObject callMethodMissing(ThreadContext context, IRubyObject receiver, DynamicMethod method, String name, IRubyObject[] args, IRubyObject self, CallType callType, Block block)(Code)(Java Doc)
public IRubyObject callSuper(ThreadContext context, IRubyObject[] args, Block block)(Code)(Java Doc)
public IRubyObject checkArrayType()(Code)(Java Doc)
protected void checkFrozen()(Code)(Java Doc)
public IRubyObject checkStringType()(Code)(Java Doc)
public IRubyObject compilerCallMethod(ThreadContext context, String name, IRubyObject[] args, IRubyObject self, CallType callType, Block block)(Code)(Java Doc)
public IRubyObject compilerCallMethodWithIndex(ThreadContext context, int methodIndex, String name, IRubyObject[] args, IRubyObject self, CallType callType, Block block)(Code)(Java Doc)
public RubyArray convertToArray()(Code)(Java Doc)
public RubyFloat convertToFloat()(Code)(Java Doc)
public RubyHash convertToHash()(Code)(Java Doc)
public RubyInteger convertToInteger()(Code)(Java Doc)
public RubyString convertToString()(Code)(Java Doc)
public IRubyObject convertToType(RubyClass targetType, int convertMethodIndex, String convertMethod, boolean raise)(Code)(Java Doc)
public IRubyObject convertToType(RubyClass targetType, int convertMethodIndex, boolean raise)(Code)(Java Doc)
public IRubyObject convertToType(RubyClass targetType, int convertMethodIndex, String convertMethod, boolean raiseOnMissingMethod, boolean raiseOnWrongTypeResult, boolean allowNilThrough)(Code)(Java Doc)
public IRubyObject convertToTypeWithCheck(RubyClass targetType, int convertMethodIndex, String convertMethod)(Code)(Java Doc)
public static RubyClass createObjectClass(Ruby runtime, RubyClass objectClass)(Code)(Java Doc)
public synchronized Object dataGetStruct()(Code)(Java Doc)
public synchronized void dataWrapStruct(Object obj)(Code)(Java Doc)
public IRubyObject display(IRubyObject[] args)(Code)(Java Doc)
protected IRubyObject doClone()(Code)(Java Doc)
public IRubyObject dup()(Code)(Java Doc)
public boolean eql(IRubyObject other)(Code)(Java Doc)
final public boolean eqlInternal(ThreadContext context, IRubyObject other)(Code)(Java Doc)
public IRubyObject equal(IRubyObject other)(Code)(Java Doc)
final public IRubyObject equalInternal(ThreadContext context, IRubyObject other)(Code)(Java Doc)
public boolean equals(Object other)(Code)(Java Doc)
public IRubyObject evalSimple(ThreadContext context, IRubyObject src, String file)(Code)(Java Doc)
public IRubyObject evalUnder(RubyModule under, IRubyObject src, IRubyObject file, IRubyObject line)(Code)(Java Doc)
public IRubyObject evalWithBinding(ThreadContext context, IRubyObject src, IRubyObject scope, String file, int lineNumber)(Code)(Java Doc)
public IRubyObject extend(IRubyObject[] args)(Code)(Java Doc)
public IRubyObject freeze()(Code)(Java Doc)
public RubyBoolean frozen()(Code)(Java Doc)
public IRubyObject getInstanceVariable(String name)(Code)(Java Doc)
public Map getInstanceVariables()(Code)(Java Doc)
public Map getInstanceVariablesSnapshot()(Code)(Java Doc)
public Class getJavaClass()(Code)(Java Doc)
final public RubyClass getMetaClass()(Code)(Java Doc)
public int getNativeTypeIndex()(Code)(Java Doc)
public Ruby getRuntime()(Code)(Java Doc)
public RubyClass getSingletonClass()(Code)(Java Doc)
public RubyClass getSingletonClassClone()(Code)(Java Doc)
public RubyClass getType()(Code)(Java Doc)
public RubyFixnum hash()(Code)(Java Doc)
public int hashCode()(Code)(Java Doc)
public synchronized RubyFixnum id()(Code)(Java Doc)
public synchronized RubyFixnum id_deprecated()(Code)(Java Doc)
public IRubyObject infectBy(IRubyObject obj)(Code)(Java Doc)
public IRubyObject inherited(IRubyObject arg, Block block)(Code)(Java Doc)
public static void initCopy(IRubyObject clone, IRubyObject original)(Code)(Java Doc)
public IRubyObject initialize(IRubyObject[] args, Block block)(Code)(Java Doc)
public IRubyObject initialize_copy(IRubyObject original)(Code)(Java Doc)
public IRubyObject inspect()(Code)(Java Doc)
public Iterator instanceVariableNames()(Code)(Java Doc)
public IRubyObject instance_eval(IRubyObject[] args, Block block)(Code)(Java Doc)
public IRubyObject instance_exec(IRubyObject[] args, Block block)(Code)(Java Doc)
public RubyBoolean instance_of(IRubyObject type)(Code)(Java Doc)
public IRubyObject instance_variable_get(IRubyObject var)(Code)(Java Doc)
public IRubyObject instance_variable_set(IRubyObject var, IRubyObject value)(Code)(Java Doc)
public RubyArray instance_variables()(Code)(Java Doc)
final public boolean isFalse()(Code)(Java Doc)
public boolean isFrozen()(Code)(Java Doc)
public boolean isImmediate()(Code)(Java Doc)
public boolean isKindOf(RubyModule type)(Code)(Java Doc)
public boolean isNil()(Code)(Java Doc)
public boolean isSingleton()(Code)(Java Doc)
public boolean isTaint()(Code)(Java Doc)
final public boolean isTrue()(Code)(Java Doc)
public RubyBoolean kind_of(IRubyObject type)(Code)(Java Doc)
public RubyClass makeMetaClass(RubyClass superClass, SinglyLinkedList parentCRef)(Code)(Java Doc)
public IRubyObject match(IRubyObject arg)(Code)(Java Doc)
public IRubyObject method(IRubyObject symbol)(Code)(Java Doc)
public IRubyObject methods(IRubyObject[] args)(Code)(Java Doc)
public IRubyObject nil_p()(Code)(Java Doc)
public IRubyObject obj_equal(IRubyObject obj)(Code)(Java Doc)
public IRubyObject private_methods(IRubyObject[] args)(Code)(Java Doc)
public IRubyObject protected_methods(IRubyObject[] args)(Code)(Java Doc)
public IRubyObject public_methods(IRubyObject[] args)(Code)(Java Doc)
public static void puts(Object obj)(Code)(Java Doc)
public IRubyObject rbClone(Block unusedBlock)(Code)(Java Doc)
public void removeFinalizers()(Code)(Java Doc)
public IRubyObject removeInstanceVariable(String name)(Code)(Java Doc)
public IRubyObject remove_instance_variable(IRubyObject name, Block block)(Code)(Java Doc)
public RubyBoolean respond_to(IRubyObject[] args)(Code)(Java Doc)
public boolean respondsTo(String name)(Code)(Java Doc)
public Map safeGetInstanceVariables()(Code)(Java Doc)
public boolean safeHasInstanceVariables()(Code)(Java Doc)
public IRubyObject send(IRubyObject[] args, Block block)(Code)(Java Doc)
public void setFrozen(boolean frozen)(Code)(Java Doc)
public IRubyObject setInstanceVariable(String name, IRubyObject value, String taintError, String freezeError)(Code)(Java Doc)
public IRubyObject setInstanceVariable(String name, IRubyObject value)(Code)(Java Doc)
public void setInstanceVariables(Map instanceVariables)(Code)(Java Doc)
public void setMetaClass(RubyClass metaClass)(Code)(Java Doc)
public void setTaint(boolean taint)(Code)(Java Doc)
public RubyArray singleton_methods(IRubyObject[] args)(Code)(Java Doc)
public IRubyObject specificEval(RubyModule mod, IRubyObject[] args, Block block)(Code)(Java Doc)
public IRubyObject taint()(Code)(Java Doc)
public RubyBoolean tainted()(Code)(Java Doc)
protected void testFrozen(String message)(Code)(Java Doc)
public String toString()(Code)(Java Doc)
public IRubyObject to_s()(Code)(Java Doc)
public static String trueFalseNil(IRubyObject v)(Code)(Java Doc)
public static String trueFalseNil(String v)(Code)(Java Doc)
public RubyClass type()(Code)(Java Doc)
public RubyClass type_deprecated()(Code)(Java Doc)
public IRubyObject untaint()(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.