# RHDate

Inherits from: RHObject


RHDate wraps a standard Date and provides a flexible API for performing date operations.

# Class Methods

# Inherited methods

Destructor ErrorAssoc OKAssoc

# New

function Dynamic New(Dynamic d=Date.Now())

# Overrides:

New in class RHObject

# Instance Methods

# Property Methods

Property methods can be accessed with the valueForKey method.

addday classidentifier classname clone date day errorassoc format hash hour identityhashcode iterator methods minute month notime okassoc propertymethods reset second serialize string toassoc week weekday weekday0 year

# Inherited methods

assert cacheMethod cacheValueForKey callSuper checkError class classIdentifier className clone deserialize dict endTrans hash identityHashCode isAccessorMethod isCached isInstanceOf isProperty isPropertyMethod iterator methods pluck prepareForReuse propertyMethods removeFromCache reset resetCache respondsTo serialize setCacheValueForKey setValueForKey setValueForKeyPath setValues startTrans string super valueForKey valueForKeyPath

# addDay

function Frame addDay()

# addDays

function Frame addDays(Integer days)

# addHours

function Frame addHours(Integer hours)

# addMinutes

function Frame addMinutes(Integer minutes)

# addMonths

function Frame addMonths(Integer months)

# addSeconds

function Frame addSeconds(Integer seconds)

# addYears

function Frame addYears(Integer years)

# date

function Date date()

# day

function Integer day()

# format

function String format(String formatter='default')

# hour

function Integer hour()

# minute

function Integer minute()

# month

function Integer month()

# noTime

function Frame noTime()

# resetSubclass

function Void resetSubclass()

# Overrides:

resetSubclass in class RHObject

# second

function Integer second()

# setAssocToDate

function Frame setAssocToDate(Assoc a)

# setDate

function Frame setDate(Dynamic d)

# setDay

function Frame setDay(Integer day)

# setHour

function Frame setHour(Integer hour)

# setMinute

function Frame setMinute(Integer minute)

# setMonth

function Frame setMonth(Integer month)

# setSeconds

function Frame setSeconds(Integer second)

# setYear

function Frame setYear(Integer year)

# toAssoc

function Assoc toAssoc()

# week

function Integer week(Integer base=$RHCore.DayOfWeekEnum.kSunday)

# weekday

function Integer weekday()

# weekday0

function Integer weekday0()

# year

function Integer year()

Last Updated: 11/15/2019, 4:24:30 PM